Java Tutorial Socket
API
- Java Socket() Constructor
- Java Socket(InetAddress address, int port) Constructor
- Java Socket(InetAddress address, int port, InetAddress localAddr, int localPort) Constructor
- Java Socket(Proxy proxy) Constructor
- Java Socket(String host, int port) Constructor
- Java Socket(String host, int port, boolean stream) Constructor
- Java Socket(String host, int port, InetAddress localAddr, int localPort) Constructor
- Java Socket.bind(SocketAddress bindpoint)
- Java Socket.close()
- Java Socket.connect(SocketAddress endpoint)
- Java Socket.connect(SocketAddress endpoint, int timeout)
- Java Socket.getChannel()
- Java Socket.getInetAddress()
- Java Socket.getInputStream()
- Java Socket.getKeepAlive()
- Java Socket.getLocalAddress()
- Java Socket.getLocalPort()
- Java Socket.getLocalSocketAddress()
- Java Socket.getOOBInline()
- Java Socket.getOutputStream()
- Java Socket.getPort()
- Java Socket.getReceiveBufferSize()
- Java Socket.getRemoteSocketAddress()
- Java Socket.getReuseAddress()
- Java Socket.getSendBufferSize()
- Java Socket.getSoLinger()
- Java Socket.getSoTimeout()
- Java Socket.getTcpNoDelay()
- Java Socket.getTrafficClass()
- Java Socket.isBound()
- Java Socket.isClosed()
- Java Socket.isConnected()
- Java Socket.isInputShutdown()
- Java Socket.isOutputShutdown()
- Java Socket.sendUrgentData(int data)
- Java Socket.setKeepAlive(boolean on)
- Java Socket.setOOBInline(boolean on)
- Java Socket.setReceiveBufferSize(int size)
- Java Socket.setReuseAddress(boolean on)
- Java Socket.setSendBufferSize(int size)
- Java Socket.setSoLinger(boolean on, int linger)
- Java Socket.setSoTimeout(int timeout)
- Java Socket.setTcpNoDelay(boolean on)
- Java Socket.setTrafficClass(int tc)
- Java Socket.shutdownInput()
- Java Socket.shutdownOutput()
- Java Socket.toString()