About 720,000 results
Open links in new tab
  1. Socket (Java Platform SE 8 ) - Oracle

    This class implements client sockets (also called just "sockets"). A socket is an endpoint for communication between two machines. The actual work of the socket is performed by an …

  2. Socket Programming in Java - GeeksforGeeks

    Oct 4, 2025 · Socket programming in Java enables communication between two devices over a network. It allows data exchange between a client and a server using the java.net package.

  3. A Guide to Java Sockets - Baeldung

    Aug 26, 2016 · This tutorial presents an introduction to sockets programming over TCP/IP networks, and demonstrates how to write client/server applications in Java. UDP isn’t a …

  4. Java Socket Application: A Comprehensive Guide - javaspring.net

    Nov 12, 2025 · Socket programming in Java allows developers to create network - enabled applications, such as chat applications, file transfer systems, and web servers. This blog will …

  5. Java - Socket Programming - Online Tutorials Library

    The java.net.Socket class represents a socket, and the java.net.ServerSocket class provides a mechanism for the server program to listen for clients and establish connections with them.

  6. Java Socket Programming Examples

    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 …

  7. A Comprehensive Guide to Java Sockets for Networking …

    This tutorial covers the fundamentals of Java Sockets, focusing on how to create networked applications using Java. We will explore both client-side and server-side programming, along …

  8. How to Create a simple TCP Client-Server Connection in Java?

    Jul 23, 2025 · In Java, we can create TCP client-server connections using the Socket and ServerSocket classes from the java.net package. In this article, we will learn how to create a …

  9. Lesson: All About Sockets (The Java™ Tutorials - Oracle

    This networking Java tutorial describes networking capabilities of the Java platform, working with URLs, sockets, datagrams, and cookies

  10. Java Socket Programming - Socket Server, Client example

    Aug 3, 2022 · The socket is bound to a port number so that the TCP layer can identify the application that data is destined to be sent. In java socket programming example tutorial, we …