+1 vote
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

Related questions

+1 vote
asked May 18, 2020 in JAVA by AdilsonLima
0 votes
asked Jun 17, 2019 in JAVA by reins.robin
...