ServerSocket.accept
Class Overview | Class Members |
This Package |
All Packages
public Socket accept() throws IOException
Description
Listens for a connection to be made to this socket and accepts
it. The method blocks until a connection is made.
Exceptions
IOException
if an I/O error occurs when waiting for a
connection.