public class LocalClientSocket extends Socket
| Modifier and Type | Field and Description |
|---|---|
static String |
_rcsid |
protected int |
currentPort |
protected static InetAddress |
loopbackAddress |
| Constructor and Description |
|---|
LocalClientSocket(int port)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
connect(SocketAddress endpoint) |
void |
connect(SocketAddress endpoint,
int timeout) |
bind, close, getChannel, getInetAddress, getInputStream, getKeepAlive, getLocalAddress, getLocalPort, getLocalSocketAddress, getOOBInline, getOutputStream, getPort, getReceiveBufferSize, getRemoteSocketAddress, getReuseAddress, getSendBufferSize, getSoLinger, getSoTimeout, getTcpNoDelay, getTrafficClass, isBound, isClosed, isConnected, isInputShutdown, isOutputShutdown, sendUrgentData, setKeepAlive, setOOBInline, setPerformancePreferences, setReceiveBufferSize, setReuseAddress, setSendBufferSize, setSocketImplFactory, setSoLinger, setSoTimeout, setTcpNoDelay, setTrafficClass, shutdownInput, shutdownOutput, toStringpublic static final String _rcsid
protected static InetAddress loopbackAddress
protected int currentPort
public LocalClientSocket(int port)
throws IOException
IOExceptionpublic void connect(SocketAddress endpoint) throws IOException
connect in class SocketIOExceptionpublic void connect(SocketAddress endpoint, int timeout) throws IOException
connect in class SocketIOException