What do you mean by the term Socket

What do you mean by the term Socket? Briefly state it.

E

Expert

Verified

A socket is one end-point of a two-way communication link among two programs running on a network. The socket is bound to a port number and hence the TCP layer can recognize the application which data is destined to be sent. The Socket classes are employed to symbolize the connection between the client program and the server program. The java.net package gives two classes--Socket and ServerSocket--that implement the client side of the connection and server side of the connection, correspondingly.

   Related Questions in Computer Networking

©TutorsGlobe All rights reserved 2022-2023.