Well…no, there wouldn’t be, ServerSocket
s don’t have streamed input/output. A ServerSocket
accepts connections, creating a Socket
for each connection received (see accept
), which is where the streams for that connection are.
solved Where is the getInputStream() function in java 1.8?