Class java.net.Socket (1.0)
public class Socket extends Object {
// Public Constructors
public Socket(String host, int port) throws UnknownHostException, IOException;
public Socket(InetAddress address, int port) throws IOException;
public Socket(String host, int port, InetAddress localAddr, int localPort) throws IOException;
public Socket(InetAddress address, int port, InetAddress localAddr, int localPort) throws IOException;
public Socket(String host, int port, boolean stream) throws IOException; // Deprecated
public Socket(InetAddress host, int port, boolean stream) throws IOException; // Deprecated
// Protected Constructors
protected Socket( );
protected Socket(SocketImpl impl) throws SocketException;
// Class Methods
public static synchronized void setSocketImplFactory(SocketImplFactory fac) throws IOException, SocketException;
// Public Instance Methods
public synchronized void close( ) throws IOException;
public InetAddress getInetAddress( );
public InputStream getInputStream( ) throws IOException;
public InetAddress getLocalAddress( );
public int getLocalPort( );
public OutputStream getOutputStream( ) throws IOException;
public int getPort( );
public int getSoLinger( ) throws SocketException;
public synchronized int getSoTimeout( ) throws SocketException;
public boolean getTcpNoDelay( ) throws SocketException;
public void setSoLinger(boolean on, int val) throws SocketException;
public synchronized void setSoTimeout(int timeout) throws SocketException;
public void setTcpNoDelay(boolean on) throws SocketException;
public String toString( ); // Overrides Object.toString( )
}