|
WSARecvDisconnect causes a socket to be closed for receiving.
Syntax
int WSARecvDisconnect( __in SOCKET s, __out LPWSABUF lpInboundDisconnectData );
Parameters
s
Descriptor identifying a socket.
lpInboundDisconnectData
Ignored. Pointer to the incoming disconnect data.
Return Values
The number of bytes sent if the function succeeds, SOCKET_EROR if the function fails
Use WSAGetLastError to retrieve a specific error code.
Requirements
Library | Rtxtcpip.lib |