Java UDP

TCP and UDP are transport protocols used for communication between computers.

Java UDP

Java UDP

     


TCP and UDP are transport protocols used for communication between computers. UDP(User Datagram Protocol) is a very simple connectionless protocol. UDP can be used to send datagrams, using Datagram Sockets, to one another i.e. from client to server and server to client. A datagram is an independent, self-contained message that can be sent over the network but there is no guarantee for the arrival of the content, arrival time of the content, ordering of the content and content itself. So UDP is good to use when a short message is coming to the server with a short response.

Read more at:

http:/www.roseindia.net/java/example/java/net/udp/