public class SocketServer extends Object
| Constructor and Description |
|---|
SocketServer(String path) |
SocketServer(String host,
int port) |
public SocketServer(String host, int port) throws IOException
IOExceptionpublic SocketServer(String path) throws IOException
IOExceptionpublic Socket accept() throws IOException
IOExceptionpublic void close()
throws IOException
IOExceptionCopyright © 2020. All rights reserved.