I was playing around with Java sockets and telnet seemed like a good program to simulate a tcp client.
What i don't understand is why does telnet send data only on a enter? I am not looking for hacks to make it send the data immediately(as that is available ( Send data over telnet without pressing enter)) but i want to understand the internal working / design of telnet for which this seemed like the natural fit.