The server listens for a connection request from a client using which of the following statement?
A) Socket s = new Socket(ServerName, port) ;
B) Socket s = serverSocket.accept()
C) Socket s = serverSocket.getSocket()
D) Socket s = new Socket(ServerName) ;
Correct Answer:
Verified
Q2: In the following URL, identify the protocol
Q3: Which of the following protocol follows connection
Q4: Which of the following statement is NOT
Q5: Which of the following statement is TRUE?
A)With
Q6: Which of the following method call is
Q8: The client requests a connection to a
Q9: To connect to a server running on
Q10: In the socket programming, for an IP
Q11: To create an InputStream on a socket,
Q12: Which of the following protocols is/are for
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents