I am trying to write a server in Java and communicate with it using an iPhone app (Objective C). The connection goes through, and I can write data to the server, but I can\'t re
you never send a linefeed \n to the java side BufferedReader uses these as delimiters for readLine();
_dataToSend = [[NSData dataWithBytes:"This is a test\n" length:16] retain];