What is the purpose of the following code snippet?
DatagramSocket socket = new DatagramSocket(); socket.send(packet);
Opens a new TCP connection
Sends a UDP packet to a specified address
Sends a TCP packet to a specified address
Listens for incoming UDP packets