Socket programming with TCP
Example client-server app:
client reads line from standard input (inFromUser stream) , sends to server via socket (outToServer stream)
server reads line from socket
server converts line to uppercase, sends back to client
client reads, prints modified line from socket (inFromServer stream)
Input stream: sequence of bytes into process
Output stream: sequence of bytes out of process