Java API Tutorial - ServerSocket Example








Constructor

  1. Java ServerSocket() Constructor
  2. Java ServerSocket(int port) Constructor
  3. Java ServerSocket(int port, int backlog) Constructor
  4. Java ServerSocket(int port, int backlog, InetAddress bindAddr) Constructor




Method

  1. Java ServerSocket.accept()
  2. Java ServerSocket .bind (SocketAddress endpoint)
  3. Java ServerSocket .bind (SocketAddress endpoint, int backlog)
  4. Java ServerSocket.close()
  5. Java ServerSocket.getChannel()
  6. Java ServerSocket.getInetAddress()
  7. Java ServerSocket.getLocalPort()
  8. Java ServerSocket .getLocalSocketAddress ()
  9. Java ServerSocket .getReceiveBufferSize ()
  10. Java ServerSocket .getReuseAddress ()
  11. Java ServerSocket.getSoTimeout()
  12. Java ServerSocket.isBound()
  13. Java ServerSocket.isClosed()
  14. Java ServerSocket .setPerformancePreferences (int connectionTime, int latency, int bandwidth)
  15. Java ServerSocket .setReceiveBufferSize (int size)
  16. Java ServerSocket .setReuseAddress (boolean on)
  17. Java ServerSocket.setSoTimeout(int timeout)
  18. Java ServerSocket.toString()