java socket programming

Networking Interview Questions

What is Socket? (of Networking Interview Questions) Socket is the end-point of communication for a system. A Socket constructor comes with two parameters of IP address of the other system where the communication should go and the port number on which the service is available on the server required by the client. What is ServerSocket? …

Networking Interview Questions Read More »

Client to Server Example Java

Before going into the details of client-to-server communication, it is advised to go through Networking – Introduction and Communication with TCP/IP Protocol to know the terms and basics of networking and the way Java supports. This is the first application in one-way communication. In one-way communication, here, client sends to server but server does not …

Client to Server Example Java Read More »