If Socket represents client side and ServerSocket represents server side, why Socket.read reads the data from server side? I\'m really con
Socket
ServerSocket
Socket.read
ServerSocket is again a Socket with additional features of server endpoint. The server features includes listening to the port and accepting an incoming connection etc...