public class ServerSocket4D
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_BACKLOG |
static int |
DEFAULT_SOTIMEOUT |
static int |
WAIT_FOREVER |
Constructor and Description |
---|
ServerSocket4D(int port) |
ServerSocket4D(int port,
int timeout) |
ServerSocket4D(int port,
int timeout,
int backlog,
java.lang.String addr) |
ServerSocket4D(int port,
int timeout,
java.lang.String addr) |
Modifier and Type | Method and Description |
---|---|
Socket |
accept() |
void |
close() |
protected void |
finalize() |
java.lang.String |
getHost() |
int |
getLocalPort() |
public static final int DEFAULT_SOTIMEOUT
public static final int DEFAULT_BACKLOG
public static final int WAIT_FOREVER
public ServerSocket4D(int port) throws IOException
IOException
public ServerSocket4D(int port, int timeout) throws IOException
IOException
public ServerSocket4D(int port, int timeout, java.lang.String addr) throws IOException
IOException
public ServerSocket4D(int port, int timeout, int backlog, java.lang.String addr) throws IOException
IOException
public java.lang.String getHost()
public int getLocalPort()
public Socket accept() throws IOException
IOException
public void close() throws IOException
IOException
protected void finalize()
finalize
in class java.lang.Object