Something I didn’t need to know for CSCI 402
Typed it up before I realized it’s not part of our readings. A socket is an endpoint for communication. In Java, Connection-oriented (TCP) sockets are implemented with the Socket class, Connectionless (UDP) sockets use the DatagramSocket class, and MulticastSocket, a subclass of DatagramSocket, allows data to be sent to multiple recipients. The loopback is 127.0.0.1….Continue Reading…