Writing Output to a Socket
The getOutputStream() method returns an OutputStream which writes data to the socket.
Most of the time you'll chain the raw OutputStream to some other output stream or writer class to more easily handle the data.
Back to first slide
View graphic version