[android-developers] Socket connection android issue

2011-08-10 Thread N K Shrivastva
Hi i want tcp-socket connection for connection with socket and take response back: public static String SERVERIP = 192.168.0.127; // designate a port public static final int SERVERPORT = 5675; private void connectSocket() { // TODO Auto-generated method stub try {

Re: [android-developers] Socket connection android issue

2011-08-10 Thread Gergely Juhász
You mean that this line: Socket socket = new Socket(serverAddr, SERVERPORT); throws an io exception? Did you set INTERNET permission in your manifest file? Maybe your pc's firewall blocks the connection. On 10 August 2011 09:34, N K Shrivastva kumarnaveen.si...@gmail.com wrote: Hi i want

Re: [android-developers] Socket connection android issue

2011-08-10 Thread NaveenShrivastva
i have already assigned this permission... On Wed, Aug 10, 2011 at 1:23 PM, Gergely Juhász jg.sv...@gmail.com wrote: You mean that this line: Socket socket = new Socket(serverAddr, SERVERPORT); throws an io exception? Did you set INTERNET permission in your manifest file? Maybe your pc's

Re: [android-developers] Socket connection android issue

2011-08-10 Thread NaveenShrivastva
On Wed, Aug 10, 2011 at 2:06 PM, NaveenShrivastva kumarnaveen.si...@gmail.com wrote: i have already assigned this permission... On Wed, Aug 10, 2011 at 1:23 PM, Gergely Juhász jg.sv...@gmail.comwrote: You mean that this line: Socket socket = new Socket(serverAddr, SERVERPORT); throws an