The accept() and close() methods provide the basic functionality of a server socket.
The accept() and close() methods provide the basic functionality of a server socket.
public Socket accept() throws IOException
public void close() throws IOException
A server socket canít be reopened after itís closed
Previous slide
Next slide
Back to first slide
View graphic version