What are the two important TCP Socket classes?
The two important TCP Socket classes : * Socket * ServerSocket Socket class allows us to read and write through the sockets. It provides two methods : getInputStream() and getOutputStream(). ServerSocket is used for normal two-way socket communication.