Closed GoogleCodeExporter closed 9 years ago
[deleted comment]
I try to listen tcp port using server socket..
but I always fail.
when I connect using putty
I get some error message
ADB EVENT FAILED connection=[tcp:1234]
this some of my code to listen tcp port,
try {
ServerSocket server = new ServerSocket(port);
Log.d ("Tagserver()","run on port 1234");
while (true)
{
Socket client = server.accept();
}
} catch (IOException ex) {
Log.d ("Tagserver()","test.....");
}
there's something wrong with my code ?
Sorry,if my question is very silly. I'm newbie in socket programming!!!
thanks,
-han
Original comment by suntzu...@gmail.com
on 26 Apr 2011 at 9:38
Hello. This facility is for reporting bugs. Please don't abuse it by asking for
help with your projects. Thank you.
Original comment by inopia.s...@gmail.com
on 19 Jan 2012 at 9:44
Original issue reported on code.google.com by
suntzu...@gmail.com
on 24 Apr 2011 at 1:58