View RSS Feed

Java Socket

Java - Networking (Socket Programming)

Rate this Entry
by , 04-25-2012 at 10:21 PM (635 Views)
Networking programming means to write those programs which could be executed across various devices, where devices are connected via a network.

J2SE APIs has java.net package which consist of interfaces and classes collection which give communication details of low level, that allow to write the programs which keeps its focus to sort out the problems.

For 2 network protocols, support is provided by the java.net package:

  • TCP: Transmission Control Protocol allows reliable communication b/w 2 applications. Typically it is used at the Internet Protocol, referred as TCP/IP.
  • UDP: User Datagram Protocol is a “connection-less” protocol which permits data packets to get transmitted to the applications.

Submit "Java - Networking (Socket Programming)" to Facebook Submit "Java - Networking (Socket Programming)" to Digg Submit "Java - Networking (Socket Programming)" to del.icio.us Submit "Java - Networking (Socket Programming)" to StumbleUpon Submit "Java - Networking (Socket Programming)" to Google

Comments