What does the Java API use for TCP communication?
java.net.DatagramPacket, java.net.DatagramSocket
Describe java.net.DatagramPacket
Representing a UDP datagram with message bytes (array), length, remote address, remote port
Describe java.net.DatagramSocket
Representing a UDP socket bound to a specific port
send() and receive() methods for datagram packets
Configurable receive timeout
connect() optionally associated with a single remote address