Java Networking - Sockets and RMI Question:
Download Questions PDF

What Is a Socket in Java Networking and RMI?

Java Networking - Sockets and RMI Interview Question
Java Networking - Sockets and RMI Interview Question

Answer:

A socket is one end-point of a two-way communication link between two programs running on the network. A socket is bound to a port number so that the TCP layer can identify the application that data is destined to be sent. 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–which implement the client side of the connection and the server side of the connection, respectively.

Download Java Networking - Sockets and RMI Interview Questions And Answers PDF

Previous QuestionNext Question
How do I make a connection to URL?What information is needed to create a TCP Socket?