Java Coder
What is Java Client Socket?
1 Answer(s)      3 years and 10 months ago
Posted in : Java Beginners


What is client socket in Java programming? Please suggest any reference or examples.



View Answers

March 29, 2013 at 3:22 PM


The client socket is basic communication interface between networked computers. The socket that make connectivity with socket client and with a socket server that handles one connection at a time, and a socket server that can handle mulitple socket connections. To get connection in client socket in java used the class named that implement the constructor of the Socket class passing two arguments as hostName and TIME_PORT. This program throws an IOException for the exception handling. This exception is thrown to indicate an I/O problem of some sort occurred.

More information about client socket in Java Read this Articles