About 2,250 results
Open links in new tab
  1. ServerSocket (Java Platform SE 8 ) - Oracle Help Center

    Binds the ServerSocket to a specific address (IP address and port number). If the address is null , then the system will pick up an ephemeral port and a valid local address to bind the socket. …

  2. Java ServerSocket Class - GeeksforGeeks

    Jan 3, 2025 · ServerSocket Class in Java provides a system-independent way to implement the server side of a client/server socket connection. The constructor for ServerSocket throws an …

  3. Java Socket Server Examples (TCP/IP) - CodeJava.net

    Nov 13, 2017 · How to implement a server program in Java using ServerSocket. Multi-threaded server is also explained.

  4. java.net.ServerSocket Class - Java Networking API

    The java.net.ServerSocket class in Java provides server-side functionality for networking applications. It listens for incoming client connections on a specified port, allowing servers to …

  5. Java ServerSocket Simple HTTP Server Example

    Mar 12, 2025 · Java serversocket simple http server: Learn how to build a simple HTTP server using Java ServerSocket to handle client requests efficiently.

  6. A Guide to Java Sockets - Baeldung

    Nov 29, 2023 · This tutorial introduces Java sockets programming over TCP/IP with an actual Client/Server application.

  7. Java Socket Programming Examples - Loyola Marymount University

    Java’s abstraction over the socket API is to use a ServerSocket object that automatically listens, then creates a different socket on accept. Java sockets have input streams and output …

  8. Uses of Class java.net.ServerSocket (Java SE 21 & JDK 21) - Oracle

    This class extends ServerSocket and provides secure server sockets using protocols such as the Secure Sockets Layer (SSL) or Transport Layer Security (TLS) protocols.

  9. jdk7u-jdk/src/share/classes/java/net/ServerSocket.java at master ...

    A server socket waits for * requests to come in over the network. It performs some operation * based on that request, and then possibly returns a result to the requester. * <p> * The actual …

  10. Socket Programming in Java - GeeksforGeeks

    Jan 3, 2025 · The java.net.Socket class is used to create a socket. Socket socket = new Socket(“127.0.0.1”, 5000) The first argument: The IP address of Server i.e. 127.0.0.1 is the IP …

Refresh