To connect to a server running on the same machine with the client, which of the following cannotbe used for the hostname?
A) "localhost"
B) "127.0.0.1"
C) InetAddress.getLocalHost() ,
D) "127.0.0.0"
Correct Answer:
Verified
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
Q7: The server listens for a connection request
Q8: The client requests a connection to a
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
Q13: Which of these is a protocol for
Q14: Which of these class is used to
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