Where is the getInputStream() function in java 1.8?

Well…no, there wouldn’t be, ServerSockets 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.

Leave a Comment