10-15-2009, 12:29 AM
Join Date: Oct 2009
Post Thanks: 0
Thanked 0 Times in 0 Posts
| | Server socket over wifi
Please Login to Remove!
I am trying to create a server socket over wifi.I am able to open the connection but serversocket is not recieving any connections.At the client end i am getting "Connection refused" exception.
ServerSocketConnection sockConn = null;
sockConn = (ServerSocketConnection)Connector.open("socket://:2222;interface = wifi");
SocketConnection socketConn = sockConn.acceptAndOpen();
It gets struck at this line.
I just want a confirmation that wheater we can open server socket over wifi on blackberry.If yes,Does service provider stops any inbound connections on blackberry.
Its super urgent.Can any one confirm this so that i can proceed further.