COMPUTER NETWORKING

APPLICATION LAYER

SOCKET INTERFACE PROGRAMMING

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
What must be done before disconnecting a socket?
A
Ending the data stream
B
Telling the server good-bye
C
Flushing the cache
D
Nothing, you can simply “unplug” with no ill effects
Explanation: 

Detailed explanation-1: -Close() Closes the Socket connection and releases all associated resources.

Detailed explanation-2: -Use the *CANCEL, TCP command to stop the connection to a node or on a socket. All active transmission and reception activity is allowed to complete before this command takes effect.

There is 1 question to complete.