posted 25 years ago
Any of the streams or readers/writers can be used to read or write to a socket. Class socket has two methods getInputStream() and getOutputStream() which return a basic stream which may be either used direct or embelished. For example: