BlackBerry Forums Support Community               

Closed Thread
LinkBack Thread Tools
Old 10-15-2009, 01: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.
Closed Thread

Thread Tools

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

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