1.

What is Socket in Java?

Answer»

It is one endpoint of two-way COMMUNICATION between programs that are running on the same network.

A SOCKET is tied to a port number in such a manner that the TCP layer can recognize the application where the data needs to be SENT. If you USE Socket instead of native CODE, your programs will communicate platform-independently.



Discussion

No Comment Found