Poll Results
No votes. Be the first one to vote.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
In Java, for connectionless socket programming, the primary classes used are `DatagramSocket` and `DatagramPacket`.
– `DatagramSocket` is a class used to send and receive datagram packets. A datagram socket is the sending or receiving point for a packet delivery service. It provides a connection-less point for sending or receiving packets.
– `DatagramPacket` represents a datagram packet. Datagram packets are used to implement a connectionless packet delivery service. Each message is routed from one machine to another based solely on information contained within that packet. Multiple packets sent from one machine to another might be routed differently, and might arrive in any order.