Which class is used to represent a socket for communication between two computers over a network in Java?
a) ServerSocket
b) Socket
c) DatagramSocket
d) MulticastSocket