What is Java Client Socket?

What is Java Client Socket?

Hi,

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

Thanks,

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:
What is Java Client Socket?
how to connect client to server using Sockets
Advertisements
Maven dependency for cornerstone-sockets - cornerstone-sockets-impl version 2.1 is released. Learn to use cornerstone-sockets-impl version 2.1 in Maven based Java projects
Maven dependency for ch.epfl.scala - sockets version 1.4.13-57-5c286956 is released. Learn to use sockets version 1.4.13-57-5c286956 in Maven based Java projects
Maven dependency for ch.epfl.scala - sockets version 1.4.13-58-ebf0cf42 is released. Learn to use sockets version 1.4.13-58-ebf0cf42 in Maven based Java projects
Maven dependency for ch.epfl.scala - sockets version 1.4.13-62-29904e14 is released. Learn to use sockets version 1.4.13-62-29904e14 in Maven based Java projects
Maven dependency for ch.epfl.scala - sockets version 1.4.13-64-4e5281cb is released. Learn to use sockets version 1.4.13-64-4e5281cb in Maven based Java projects
Maven dependency for ch.epfl.scala - sockets version 1.4.13-66-fa868362 is released. Learn to use sockets version 1.4.13-66-fa868362 in Maven based Java projects
Maven dependency for ch.epfl.scala - sockets version 1.5.0-30-571d4c74 is released. Learn to use sockets version 1.5.0-30-571d4c74 in Maven based Java projects
Maven dependency for ch.epfl.scala - sockets version 1.4.13-50-8332ee9c is released. Learn to use sockets version 1.4.13-50-8332ee9c in Maven based Java projects
Maven dependency for ch.epfl.scala - sockets version 1.4.13-53-823cde49 is released. Learn to use sockets version 1.4.13-53-823cde49 in Maven based Java projects
Maven dependency for ch.epfl.scala - sockets version 1.4.13-55-1fc97fae is released. Learn to use sockets version 1.4.13-55-1fc97fae in Maven based Java projects
Maven dependency for ch.epfl.scala - sockets version 1.4.0-RC1-203-ee72533a is released. Learn to use sockets version 1.4.0-RC1-203-ee72533a in Maven based Java projects
Maven dependency for ch.epfl.scala - sockets version 1.4.13-39-b0716798 is released. Learn to use sockets version 1.4.13-39-b0716798 in Maven based Java projects
Maven dependency for ch.epfl.scala - sockets version 1.4.12-20-cc0f72c8 is released. Learn to use sockets version 1.4.12-20-cc0f72c8 in Maven based Java projects
Maven dependency for ch.epfl.scala - sockets version 1.4.12-46-0dc735af is released. Learn to use sockets version 1.4.12-46-0dc735af in Maven based Java projects
Maven dependency for ch.epfl.scala - sockets version 1.4.12-48-81973d63 is released. Learn to use sockets version 1.4.12-48-81973d63 in Maven based Java projects
Maven dependency for ch.epfl.scala - sockets version 1.4.11-45-623bf486 is released. Learn to use sockets version 1.4.11-45-623bf486 in Maven based Java projects
Maven dependency for ch.epfl.scala - sockets version 1.4.11-47-b6175e43 is released. Learn to use sockets version 1.4.11-47-b6175e43 in Maven based Java projects
Maven dependency for ch.epfl.scala - sockets version 1.4.11-49-5535314b is released. Learn to use sockets version 1.4.11-49-5535314b in Maven based Java projects
Maven dependency for ch.epfl.scala - sockets version 1.4.11-51-ac1d788a is released. Learn to use sockets version 1.4.11-51-ac1d788a in Maven based Java projects
Maven dependency for ch.epfl.scala - sockets version 1.4.11-53-ee093a60 is released. Learn to use sockets version 1.4.11-53-ee093a60 in Maven based Java projects
Maven dependency for ch.epfl.scala - sockets version 1.4.12 is released. Learn to use sockets version 1.4.12 in Maven based Java projects
Maven dependency for ch.epfl.scala - sockets version 1.4.12-2-2721355b is released. Learn to use sockets version 1.4.12-2-2721355b in Maven based Java projects
Maven dependency for ch.epfl.scala - sockets version 1.4.12-4-b38916d2 is released. Learn to use sockets version 1.4.12-4-b38916d2 in Maven based Java projects
Maven dependency for ch.epfl.scala - sockets version 1.4.12-6-1261d1aa is released. Learn to use sockets version 1.4.12-6-1261d1aa in Maven based Java projects
Maven dependency for ch.epfl.scala - sockets version 1.5.6-35-f736b2a5 is released. Learn to use sockets version 1.5.6-35-f736b2a5 in Maven based Java projects
Maven dependency for ch.epfl.scala - sockets version 1.5.4-129-e9a5c243 is released. Learn to use sockets version 1.5.4-129-e9a5c243 in Maven based Java projects
Maven dependency for ch.epfl.scala - sockets version 1.5.4-127-7845ad93 is released. Learn to use sockets version 1.5.4-127-7845ad93 in Maven based Java projects
Maven dependency for ch.epfl.scala - sockets version 1.5.4-125-b611c20c is released. Learn to use sockets version 1.5.4-125-b611c20c in Maven based Java projects
Maven dependency for ch.epfl.scala - sockets version 1.5.4-123-cd0b4b94 is released. Learn to use sockets version 1.5.4-123-cd0b4b94 in Maven based Java projects
Maven dependency for ch.epfl.scala - sockets version 1.5.4-120-11bb3d90 is released. Learn to use sockets version 1.5.4-120-11bb3d90 in Maven based Java projects
Maven dependency for ch.epfl.scala - sockets version 1.5.4-118-e5d4fad6 is released. Learn to use sockets version 1.5.4-118-e5d4fad6 in Maven based Java projects
Maven dependency for ch.epfl.scala - sockets version 1.5.4-114-4779ffa8 is released. Learn to use sockets version 1.5.4-114-4779ffa8 in Maven based Java projects
Maven dependency for ch.epfl.scala - sockets version 1.5.4-112-770c68ba is released. Learn to use sockets version 1.5.4-112-770c68ba in Maven based Java projects
Maven dependency for ch.epfl.scala - sockets version 1.5.4-110-f63b53b9 is released. Learn to use sockets version 1.5.4-110-f63b53b9 in Maven based Java projects
Maven dependency for ch.epfl.scala - sockets version 1.5.4-108-733c9e18 is released. Learn to use sockets version 1.5.4-108-733c9e18 in Maven based Java projects
Maven dependency for ch.epfl.scala - sockets version 1.5.4-106-1624d01f is released. Learn to use sockets version 1.5.4-106-1624d01f in Maven based Java projects
Maven dependency for ch.epfl.scala - sockets version 1.5.4-104-913fdf67 is released. Learn to use sockets version 1.5.4-104-913fdf67 in Maven based Java projects
Maven dependency for ch.epfl.scala - sockets version 1.5.4-102-9ec8b51f is released. Learn to use sockets version 1.5.4-102-9ec8b51f in Maven based Java projects
Maven dependency for ch.epfl.scala - sockets version 1.5.4-100-7919d5df is released. Learn to use sockets version 1.5.4-100-7919d5df in Maven based Java projects
Maven dependency for ch.epfl.scala - sockets version 1.5.4-98-5b4a2ad7 is released. Learn to use sockets version 1.5.4-98-5b4a2ad7 in Maven based Java projects
Maven dependency for ch.epfl.scala - sockets version 1.5.4-95-d59e5eea is released. Learn to use sockets version 1.5.4-95-d59e5eea in Maven based Java projects
Maven dependency for ch.epfl.scala - sockets version 1.5.4-93-23afc241 is released. Learn to use sockets version 1.5.4-93-23afc241 in Maven based Java projects
Maven dependency for ch.epfl.scala - sockets version 1.5.4-91-2d3b3ef6 is released. Learn to use sockets version 1.5.4-91-2d3b3ef6 in Maven based Java projects
Maven dependency for ch.epfl.scala - sockets version 1.5.4-73-83c69575 is released. Learn to use sockets version 1.5.4-73-83c69575 in Maven based Java projects
Maven dependency for ch.epfl.scala - sockets version 1.5.4-71-c3640ae6 is released. Learn to use sockets version 1.5.4-71-c3640ae6 in Maven based Java projects
Maven dependency for ch.epfl.scala - sockets version 1.5.4-69-f1f9368f is released. Learn to use sockets version 1.5.4-69-f1f9368f in Maven based Java projects
Maven dependency for ch.epfl.scala - sockets version 1.5.4-67-c910a45b is released. Learn to use sockets version 1.5.4-67-c910a45b in Maven based Java projects
Maven dependency for ch.epfl.scala - sockets version 1.5.4-65-fde1de63 is released. Learn to use sockets version 1.5.4-65-fde1de63 in Maven based Java projects

Ads