diff options
Diffstat (limited to 'net/base/net_util.h')
-rw-r--r-- | net/base/net_util.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/base/net_util.h b/net/base/net_util.h index db28a76..7adfc57 100644 --- a/net/base/net_util.h +++ b/net/base/net_util.h @@ -131,6 +131,9 @@ bool IsPortAllowedByDefault(int port); // restricted. bool IsPortAllowedByFtp(int port); +// Set socket to non-blocking mode +int SetNonBlocking(int fd); + } // namespace net #endif // NET_BASE_NET_UTIL_H__ |