Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User okegame's Avatar
    Join Date
    Mar 2003
    Posts
    2
    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

  2. #2
    Nokia Developer Expert seppo_fn's Avatar
    Join Date
    Mar 2003
    Posts
    1,205
    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved