Hi,

I'm trying to implement a TCP server client scheme. I currently have
the server aspect extending a service which the main activity starts,
I've also put the server code in a new thread - as far as I understand
not doing so would hang the UI?

For testing purposes, I'm simply trying to send a TCP message from the
emulator to the same emulator, just using localhost and no redir.
However, I get the a connection refused error.

All the relevant code can be seen <a href=http://pastebin.ca/
1685277>here</a>. My guess, is it's something to do with the new
thread, but if anyone with a greater understanding can point me in the
correct direction, that would be great.

Ben

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

Reply via email to