What is the difference between ServerSocket and DatagramSocket transport protocol?
Answers
Answered by
6
A ServerSocket is for accepting incoming network connections on some stream protocol; e.g. TCP/IP.
A DatagramSocket is for sending and receiving datagrams on some connectionless datagram / message protocol; e.g. UDP/IP
HOPE HELPS ✌️✌️
Answered by
2
HELLO!!!
YPUR ANSWER IS--
A SERVER SOCKET IS FOR ACCEPTING INCOMING NETWORK CONNECTION OF STREAM PROTOCOL..
A DATAGRAM SOCKET IS FOR SENDING AND RECEIVING DATAGRAM ON SOME CONNECTIONLESS DATAGRAM. ...
THANK U!!
:):):)
YPUR ANSWER IS--
A SERVER SOCKET IS FOR ACCEPTING INCOMING NETWORK CONNECTION OF STREAM PROTOCOL..
A DATAGRAM SOCKET IS FOR SENDING AND RECEIVING DATAGRAM ON SOME CONNECTIONLESS DATAGRAM. ...
THANK U!!
:):):)
Similar questions