GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Overview
  • Package
  • Class
  • Tree
  • Deprecated
  • Index
  • Help
  • Frames
  • No Frames
  • All Classes
  • RMIClientSocketFactory
  • RMIServerSocketFactory
  • java.nio.channels

This view

  • Original page
  • New address

GeezerVison is showing docs.oracle.com — Uses of Class java.net.ServerSocket (Java Platform SE 8 )

Skip navigation links
  • Overview
  • Package
  • Class
  • Use
  • Tree
  • Deprecated
  • Index
  • Help
Java™ Platform
Standard Ed. 8
  • Prev
  • Next
  • Frames
  • No Frames
  • All Classes

Uses of Class
java.net.ServerSocket

  • Packages that use ServerSocket 
    Package Description
    java.nio.channels
    Defines channels, which represent connections to entities that are capable of performing I/O operations, such as files and sockets; defines selectors, for multiplexed, non-blocking I/O operations.
    java.rmi.server
    Provides classes and interfaces for supporting the server side of RMI.
    javax.net
    Provides classes for networking applications.
    javax.net.ssl
    Provides classes for the secure socket package.
    javax.rmi.ssl
    Provides implementations of RMIClientSocketFactory and RMIServerSocketFactory over the Secure Sockets Layer (SSL) or Transport Layer Security (TLS) protocols.
    • Uses of ServerSocket in java.nio.channels

      Methods in java.nio.channels that return ServerSocket 
      Modifier and Type Method Description
      abstract ServerSocket ServerSocketChannel.socket()
      Retrieves a server socket associated with this channel.
    • Uses of ServerSocket in java.rmi.server

      Methods in java.rmi.server that return ServerSocket 
      Modifier and Type Method Description
      abstract ServerSocket RMISocketFactory.createServerSocket(int port)
      Create a server socket on the specified port (port 0 indicates an anonymous port).
      ServerSocket RMIServerSocketFactory.createServerSocket(int port)
      Create a server socket on the specified port (port 0 indicates an anonymous port).
    • Uses of ServerSocket in javax.net

      Methods in javax.net that return ServerSocket 
      Modifier and Type Method Description
      ServerSocket ServerSocketFactory.createServerSocket()
      Returns an unbound server socket.
      abstract ServerSocket ServerSocketFactory.createServerSocket(int port)
      Returns a server socket bound to the specified port.
      abstract ServerSocket ServerSocketFactory.createServerSocket(int port, int backlog)
      Returns a server socket bound to the specified port, and uses the specified connection backlog.
      abstract ServerSocket ServerSocketFactory.createServerSocket(int port, int backlog, InetAddress ifAddress)
      Returns a server socket bound to the specified port, with a specified listen backlog and local IP.
    • Uses of ServerSocket in javax.net.ssl

      Subclasses of ServerSocket in javax.net.ssl 
      Modifier and Type Class Description
      class  SSLServerSocket
      This class extends ServerSockets and provides secure server sockets using protocols such as the Secure Sockets Layer (SSL) or Transport Layer Security (TLS) protocols.
    • Uses of ServerSocket in javax.rmi.ssl

      Methods in javax.rmi.ssl that return ServerSocket 
      Modifier and Type Method Description
      ServerSocket SslRMIServerSocketFactory.createServerSocket(int port)
      Creates a server socket that accepts SSL connections configured according to this factory's SSL socket configuration parameters.
Skip navigation links
  • Overview
  • Package
  • Class
  • Use
  • Tree
  • Deprecated
  • Index
  • Help
Java™ Platform
Standard Ed. 8
  • Prev
  • Next
  • Frames
  • No Frames
  • All Classes

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2026, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.