connection refused error 111 in TCP client server
I am facing connection refused error 111 in TCP client server program, in android native code which in C , but if code is in JAVA it works fine, but i want to continue in C only, in manifest file i have given permission and ip, port is correct .
What am doing wrong?? or is their any network setting?? am using UBUNTU 10.04
and If both client server Linux pc it works fine. only if android emulator becomes client then am getting connection refused.