Home
last modified time | relevance | path

Searched refs:domain (Results 1 – 15 of 15) sorted by relevance

/libuv/src/unix/
H A Dtcp.c64 static int new_socket(uv_tcp_t* handle, int domain, unsigned int flags) { in new_socket() argument
68 sockfd = uv__socket(domain, SOCK_STREAM, 0); in new_socket()
85 static int maybe_new_socket(uv_tcp_t* handle, int domain, unsigned int flags) { in maybe_new_socket() argument
89 if (domain == AF_UNSPEC) in maybe_new_socket()
94 return new_socket(handle, domain, flags); in maybe_new_socket()
114 int domain; in uv_tcp_init_ex() local
118 domain = flags & 0xFF; in uv_tcp_init_ex()
119 if (domain != AF_INET && domain != AF_INET6 && domain != AF_UNSPEC) in uv_tcp_init_ex()
131 if (domain != AF_UNSPEC) { in uv_tcp_init_ex()
132 err = new_socket(tcp, domain, 0); in uv_tcp_init_ex()
H A Dudp.c48 int domain,
430 int domain, in uv__udp_maybe_deferred_bind() argument
438 switch (domain) { in uv__udp_maybe_deferred_bind()
856 int domain) { in uv__udp_init_ex() argument
860 if (domain != AF_UNSPEC) { in uv__udp_init_ex()
861 fd = uv__socket(domain, SOCK_DGRAM, 0); in uv__udp_init_ex()
H A Dinternal.h253 int uv__socket(int domain, int type, int protocol);
H A Dcore.c504 int uv__socket(int domain, int type, int protocol) { in uv__socket() argument
509 sockfd = socket(domain, type | SOCK_NONBLOCK | SOCK_CLOEXEC, protocol); in uv__socket()
517 sockfd = socket(domain, type, protocol); in uv__socket()
/libuv/docs/src/
H A Dpipe.rst8 local domain sockets, pipes, and FIFOs) and named pipes on Windows.
86 Connect to the Unix domain socket or the Windows named pipe.
99 Connect to the Unix domain socket or the Windows named pipe.
116 Get the name of the Unix domain socket or the named pipe.
128 Get the name of the Unix domain socket or the named pipe to which the handle
H A Dtcp.rst60 of the `flags` parameter are used as the socket domain. A socket will be created
61 for the given domain. If the specified domain is ``AF_UNSPEC`` no socket is created,
188 Equivalent to :man:`socketpair(2)` with a domain of AF_UNIX.
H A Dindex.rst32 * IPC with socket sharing, using Unix domain sockets or named pipes (Windows)
H A Dudp.rst165 parameter are used as the socket domain. A socket will be created for the given domain.
166 If the specified domain is ``AF_UNSPEC`` no socket is created, just like :c:func:`uv_udp_init`.
/libuv/src/
H A Duv-common.c347 int domain; in uv_udp_init_ex() local
351 domain = flags & 0xFF; in uv_udp_init_ex()
352 if (domain != AF_INET && domain != AF_INET6 && domain != AF_UNSPEC) in uv_udp_init_ex()
360 rc = uv__udp_init_ex(loop, handle, flags, domain); in uv_udp_init_ex()
H A Duv-common.h165 int domain);
/libuv/docs/src/guide/
H A Dprocesses.rst291 Since domain sockets [#]_ can have a well known name and a location in the
293 system used by open source desktop environments uses domain sockets for event
295 or new hardware is detected. The MySQL server also runs a domain socket on
300 When using domain sockets, a client-server pattern is usually followed with the
317 A client which wants to connect to a domain socket will use::
330 The cool thing about domain sockets is that file descriptors can be exchanged
331 between processes by sending them over a domain socket. This allows processes
423 .. [#] In this section domain sockets stands in for named pipes on Windows as
/libuv/src/win/
H A Dtcp.c153 int domain; in uv_tcp_init_ex() local
156 domain = flags & 0xFF; in uv_tcp_init_ex()
157 if (domain != AF_INET && domain != AF_INET6 && domain != AF_UNSPEC) in uv_tcp_init_ex()
177 if (domain != AF_UNSPEC) { in uv_tcp_init_ex()
181 sock = socket(domain, SOCK_STREAM, 0); in uv_tcp_init_ex()
188 err = uv__tcp_set_socket(handle->loop, handle, sock, domain, 0); in uv_tcp_init_ex()
H A Dudp.c126 int domain) { in uv__udp_init_ex() argument
142 if (domain != AF_UNSPEC) { in uv__udp_init_ex()
146 sock = socket(domain, SOCK_DGRAM, 0); in uv__udp_init_ex()
153 err = uv__udp_set_socket(handle->loop, handle, sock, domain); in uv__udp_init_ex()
/libuv/
H A DREADME.md24 * IPC with socket sharing, using Unix domain sockets or named pipes (Windows)
H A DLICENSE-docs382 public licenses is dedicated to the public domain under the CC0 Public

Completed in 61 milliseconds