what is a socket in java networking and rmians a


What Is a Socket in Java Networking and RMI?

Ans) A socket is one end-point of a two-way communication link among two programs running on the network. A socket is bound to a port number so that the TCP layer can recognize the application that data is destined to be sent. Socket classes are used to show the connection among a client program and a server program. The java.net package gives two classes-Socket and Server Socket-which implement the client side of the link and the server side of the connection, respectively.

 

Request for Solution File

Ask an Expert for Answer!!
JAVA Programming: what is a socket in java networking and rmians a
Reference No:- TGS0266546

Expected delivery within 24 Hours