Shuts down part or all of a full‐duplex connection.
Synopsis
Declared in <folly/net/NetOps.h>
int
shutdown(
NetworkSocket s,
int how);
Return Value
0 on success, or ‐1 on error.
Parameters
Name |
Description |
s |
The socket to shut down. |
how |
Which directions to shut down. |
Created with MrDocs