Wednesday, August 17, 2011

[android-developers] tcp server binding in android-ndk

hello friends,

i 'm currently working in android -ndk .
i 'm trying to run the tcp server socket in android but its not
binding the socket if we using i p like 192.168.72.160.
while i try to bind with the local i.p. address (10.0.2.15 &
127.0.0.1) its binding but
its not communicating with other p.c.

i tried port forwarding
i m using port no 3500 emulator (tcp server)
i don't know on which port my pc communicating so using netstat -o it
shows some ports i tried with port no
to port forwarding but it doesn't work for any.

while i run the tcp client in emulator on same port its working fine

can any one suggest the idea to overcome my problem ?

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment