in JAVA by
Give a brief description of Java socket programming?

1 Answer

0 votes
by

Java Socket programming is used for communication between the applications running on different JRE. Java Socket programming can be connection-oriented or connectionless. Socket and ServerSocket classes are used for connection-oriented socket programming and DatagramSocket, and DatagramPacket classes are used for connectionless socket programming. The client in socket programming must know two information:

  1. IP address of the server
  2. port number
...