Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa Java-Beginners What is Java Client Socket?

Have Programming Question? Ask it here!
 
 
 


Java Coder
What is Java Client Socket?
1 Answer(s)      a year and 4 months ago
Posted in : Java Beginners


Hi,

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

Thanks,


Advertisement
View Answers

March 29, 2013 at 3:22 PM


Hi,

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 ClientSocketInformation.java 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



Related Tutorials/Questions & Answers:
Advertisements
 

 

 

DMCA.com