Question: What happens if the Socket constructors second argument is not the same as the port number at which the server waits for connections?

What happens if the Socket constructor’s second argument is not the same as the port number at which the server waits for connections?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

In networking a socket is one endpoint of a twoway communication link between two programs running on the network A socket is bound to a port number s... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Java Programming Questions!