Thursday, December 16, 2010

Java Socket



There are 5 books about Java Socket
In client-server applications, the server provides some service, such as processing database queries or sending out current stock prices. The client uses the service provided by the server, either displaying database query results to the user or making stock purchase recommendations to an investor. The communication that occurs between the client and the server must be reliable. That is, no data can be dropped and it must arrive on the client side in the same order in which the server sent it.

TCP provides a reliable, point-to-point communication channel that client-server applications on the Internet use to communicate with each other. To communicate over TCP, a client program and a server program establish a connection to one another. Each program binds a socket to its end of the connection. To communicate, the client and the server each reads from and writes to the socket bound to the connection.

What Is a Socket?

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. The java.net package provides two classes--Socket and ServerSocket--that implement the client side of the connection and the server side of the connection, respectively.

1. Java Sockets
Alexander V. Konstantinou
CS4119 – Computer Networks
Columbia University
Spring 2003

2. Java sockets 101
Table of Contents
If you're viewing this document online, you can click any of the topics below to link directly to that section.
1. Tutorial tips 2
2. Socket basics 3
3. An undercover socket 8
4. A simple example 11
5. A multithreaded example 18
6. A pooled example 21
7. Sockets in real life 27
8. Summary 31
9. Appendix 32

3.Java socket programming
Prof. Andrzej Duda

4. Java Socket
Jorge Cardoso
University of Madeira

5. Java Socket
A Socket is an IP Port (see TCP/IP) on a specific host machine. Sockets are a concept that have been around in programming languages for some time. They first appeared in early Unix systems in the 1970s and are now the `standard' low-level communication primitive.

Another Network Books
Another Java Books

No comments:

Post a Comment

Related Posts with Thumbnails

Put Your Ads Here!