TCP connection established between two computers using sockets - Basic concept of Networking
Q. Which steps occur when establishing a TCP connection between two computers using sockets?- Published on 10 Jul 15a. The server instantiates a ServerSocket object, denoting which port number communication is to occur on
b. The server invokes the accept() method of the ServerSocket class. This method waits until a client connects to the server on the given port
c. After the server is waiting, a client instantiates a Socket object, specifying the server name and port number to connect to
d. All of the above
ANSWER: All of the above