Hello to everybody,
I am having a problem regarding a project. The problem goes like this
I want to connect to a wifi network from a java program....now i have gone through the links posted in the thread
and have learned that it is possible to do it via a socket connection(mentioned in http://discussion.forum.nokia.com/fo...ht=WIFI+socket )
now the constructor
Socket socket = new Socket(InetAddress , port) is utilized here... but the port is the port number to which the specified address is connected....so I just want to know that is how can i ensure that such a socket connection is using the wifi only, not gprs? is there any way at all to ensure the particular connection?
I will be highly obliged if you provide me any kind of clue.