Which code fragment creates a server running at port 6666 and sends one line of text, "Hello from earth" over and over to any machine that connects to the server?
A)
B)
C)
D)
Correct Answer:
Verified
Q48: A print writer buffers the characters that
Q49: The Java library provides a _ class
Q50: Which code creates a server socket on
Q51: The _ method empties the buffer and
Q52: Buffering the characters means:
A)characters are immediately sent
Q54: For the server to execute the run
Q55: The following command:
java pgmName hostname /
lets you
Q56: For test protocols, turn the socket streams
Q57: _ objects are used for communication (IO)
Q58: The _ class makes it easy 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