Puts a socket into blocking mode.

Synopsis

Declared in <folly/net/NetOps.h>

int
set_socket_blocking(NetworkSocket s);

Return Value

0 on success, or ‐1 on error.

Parameters

Name

Description

s

The socket to modify.

Created with MrDocs