BlackBerry Forums Support Community               

Closed Thread
LinkBack Thread Tools
Old 10-15-2009, 12:29 AM   #1 (permalink)
New Member
Join Date: Oct 2009
Model: 9000
Carrier: vodafone
Posts: 1
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Server socket over wifi

Please Login to Remove!

Hi all,

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.

Sample code:

ServerSocketConnection sockConn = null;

sockConn = (ServerSocketConnection)"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.

Copyright 2004-2016
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.