1MONGOC_SOCKET_ACCEPT(3)        MongoDB C Driver        MONGOC_SOCKET_ACCEPT(3)
2
3
4

NAME

6       mongoc_socket_accept - mongoc_socket_accept()
7

SYNOPSIS

9          mongoc_socket_t *
10          mongoc_socket_accept (mongoc_socket_t *sock, int64_t expire_at);
11

PARAMETERS

13       · sock: A mongoc_socket_t.
14
15       · expire_at: An int64_t containing a timeout in milliseconds.
16

DESCRIPTION

18       This function is a wrapper around the BSD socket accept() interface. It
19       allows for more portability between  UNIX-like  and  Microsoft  Windows
20       platforms.
21

RETURNS

23       NULL  upon  failure  to  accept  or  timeout.  A  newly  allocated mon‐
24       goc_socket_t that should be released  with  mongoc_socket_destroy()  on
25       success.
26

AUTHOR

28       MongoDB, Inc
29
31       2017-present, MongoDB, Inc
32
33
34
35
361.14.0                           Feb 22, 2019          MONGOC_SOCKET_ACCEPT(3)
Impressum