Hi, I have only worked with doing sockets more manually, using bytebuffer(http://onjava.com/pub/a/onjava/2002/09/04/nio.html and ignore non-blocking for now) and then parsing what I need (I guess I still like the C-way of using sockets), so I am not an expert in this field. Anyway, have you checked that the server actually receives your message (from line#4) and generates the correct response? Can you see the response arriving on your client device/machine? Based on my understanding of readLine, it will block until \n, \r og \r\n is read and then return the complete string. Can you modify the server application to include for example \n at the end of the packet (just for testing)?
-Kristian -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en