public class LocalClientSocket
extends java.net.Socket
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
_rcsid |
protected int |
currentPort |
protected static java.net.InetAddress |
loopbackAddress |
| Constructor and Description |
|---|
LocalClientSocket(int port)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
connect(java.net.SocketAddress endpoint) |
void |
connect(java.net.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 java.lang.String _rcsid
protected static java.net.InetAddress loopbackAddress
protected int currentPort
public LocalClientSocket(int port)
throws java.io.IOException
java.io.IOExceptionpublic void connect(java.net.SocketAddress endpoint)
throws java.io.IOException
connect in class java.net.Socketjava.io.IOExceptionpublic void connect(java.net.SocketAddress endpoint,
int timeout)
throws java.io.IOException
connect in class java.net.Socketjava.io.IOException