Search Interview Questions
Question: What Is a Socket in Java Networking and RMI?
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.
|
|||||||||||
Question: What Is a Socket in Java Networking and RMI?
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. If you have the better answer, then send it to us. We will display your answer after the approval Rules to Post Answers in CoolInterview.com:-
|
Related Questions | ||
How do I make a connection to URL? |
|
|
What is the difference between URL instance and URLConnection instance? |
|
|
What is encapsulation technique? |
|
|
What is the difference between a NULL pointer and a void pointer? |
|
|
What are some advantages and disadvantages of Java Sockets? |
|
|
What does a socket consists of? |
|
|
What is the difference between TCP and UDP? |
|
|
Name the seven layers of the OSI Model and describe them briefly. |
|
|
What is multiprogramming? |
|
|
How does the race condition occur? |
|
Please Note: We keep on updating better answers to this site. In case you are looking for Jobs, Pls Click Here Vyoms.com - Best Freshers & Experienced Jobs Website.
View All Socket Programing Interview Questions & Answers - Exam Mode / Learning Mode
India News Network |