shutdown socket
636 단어 shutdown
Syntax
int shutdown( __in SOCKET s, __in int how);
Parameters
s [in]
A descriptor identifying a socket.
how [in]
A flag that describes what types of operation will no longer be allowed. Possible values for this flag are listed in theWinsock2.h header file.
Value
Meaning
SD_RECEIVE
0
Shutdown receive operations.
SD_SEND
일
Shutdown send operations.
SD_BOTH
이
Shutdown both send and receive operations.