Discuss this help topic in SecureBlackbox Forum
Initiates shutdown of sending or receiving channel of the socket.
Declaration
Parameters
Possible values:
|
Description
This method corresponds to the shutdown() function of sockets API.
It initiates shutdown of sending or receiving channel of the socket.
After the channel is shut down, no sending or receiving can take place.
However, it is a designed scenario to shutdown the sending end, and then peek the remaining data using
Receive method.
ShutdownSocket method is optional, if you don't need the remaining data (or the application-level protocol shuts down the socket only after everything was sent or received),
then there's no need to call ShutdownSocket.
Close method will do everything itself in this case (unless Silent parameter of Close method is
True).