-UDP is not a reliable protocol as you may loose data packets over the network so while coding you will have to handle missing packets in your client/server.
-ServerSockets use TCP connections for communication.TCP is safe and reliable protocol and guarantees delivery, all you need is InputStream to read and OutputStream to write over TCP.


0 comments:
Post a Comment