Search results
A socket is one end-point of a two-way communication link between two programs running on the network. Socket classes are used to represent the connection between a client program and a server program.
- Writing The Server Side of a Socket
This section shows you how to write a server and the client...
- What is a Socket
Normally, a server runs on a specific computer and has a...
- Working with URLs
Terminology Note: The term URL can be ambiguous. It can...
- Trail
This networking Java tutorial describes networking...
- The Java Tutorials
The client program reads and displays the data passed back...
- Lesson 1: Socket Communications
This lesson presents a simple sockets-based program to...
- Writing The Server Side of a Socket
The client program reads and displays the data passed back to it from the server. Note that the EchoClient example both writes to and reads from its socket, thereby sending data to and receiving data from the echo server. Let's walk through the program and investigate the interesting parts.
This section shows you how to write a server and the client that goes with it. The server in the client/server pair serves up Knock Knock jokes. Knock Knock jokes are favored by children and are usually vehicles for bad puns. They go like this: Server: "Knock knock!" Client: "Who's there?" Server: "Dexter." Client: "Dexter who?"
This lesson presents a simple sockets-based program to introduce the concepts of sockets and multi-threaded programming. A multi-threaded program performs multiple tasks at one time such as fielding simultaneous requests from many client programs.
This tutorial shows you how to use Java Platform, Standard Edition 8 (Java SE 8) and NetBeans 8 for socket programming over TCP/IP networks. Time to Complete. Approximately 120 minutes . Introduction In this tutorial, you learn how to write client/server applications for lower-level network communications.
Each program binds a socket at the end of the connection. This tutorial shows you how to use Java Platform, Standard Edition 8 (Java SE 8) and NetBeans 8 for socket programming over TCP/IP networks. Duration: 120 minutes
In this tutorial you learned how to create an application that features real-time, full-duplex communication between a client and a server by using the WebSocket API. You also learned how to: Create and configure a WebSocket server endpoint using the WebSocket API