You Are Here:

Community: Developer Discussion Boards

#1 Old Sending data using iAcceptedSocket (Urgent question) - 1970-01-01, 02:00

Join Date: Mar 2003
Posts: 2
okegame
Offline
Registered User
Hi all,

My question is quite urgent, so if anybody know the answer please
post it.

In the example Bluetooth Point to Point there is socket which is
solely for receiving data (iAcceptedSocket, member of CMessageServer). There is also socket that solely for sending data
(iSendingSocket, member of CMessageClient). My question is this:
Can I send data using iAcceptedSocket? or receive data using iSendingSocket?

I also notice that in the example the client displays device name
of server. Client can retrieve server name and port from class TBTDeviceSelectionParamsPckg. This class is used as a selection
filter when calling RNotifier::StartNotifierAndGetResponse().
My question second question is: Is there a way for server to retrieve client's device name and port? Put it another way: Can server be modified so that it can display their client's device name and port?

Thank You
Reply With Quote

#2 Old RE: Sending data using iAcceptedSocket (Urgent question) - 1970-01-01, 02:00

Join Date: Mar 2003
Posts: 1,200
seppo_fn's Avatar
seppo_fn
Offline
Forum Nokia Expert
Please have a look at SDK Help and its examples on using asynchronous sockets.

For the second question, I did not find any hints on how to do it. Basically the use case is that the device attempting to connect makes service discovery.

Seppo
Forum Nokia
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules

You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia