| Reply | « Previous Thread | Next Thread » |
|
I'm trying to have a central server on BT following the BTPointToPoint example.
I made up a class Server which opens a RSocketServre, listens to the channel and opens the stream sokets when a client has connected. I'd like to do this for as many client as I wish, but after the first client is connected, even though I can launch other Server classes, new clients won't connect to the server. It seems that the service advertisement succeeds but another client can't connect. I thought that opening the second server instance after the connection of the first client would help but it didn't help. Can somebody give a hand? |
|
Nokia 7650/3650 can act as a slave to one remote device at a time only.
By disconnecting the link after send/receive operation with each device you can have data transmission with multiple devices. This of course might be a little slower but for a user it should be the same without any noticable effect (if authentication/authorisation are not required). For user still looks like the device were connected to multiple devices simultaneously. Another possibility is that the phone is the device that establishes the connections, i.e. it is the master (Nokia 7650/3650 can be a master to multiple devices.) Seppo Forum Nokia |
|
I actually want the server to be a master for several devices. The problem is that once a client has connected, i try to launch another server (another instance of the class Server) which seems to succeed because the device makes no problem to find a free usable channel.
When another client tries to connect to the server, it fails, i think because the connection is busy. I think the master device is the server, so I'd like it to accept any incoming request. But maybe the master is the device that's asking for the connection. In this case, the server ( the device that has a connection with the all the other ones) should initiate the connection with each of its clients. What is the right solution? |
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|