Home
last modified time | relevance | path

Searched refs:sockets (Results 1 – 17 of 17) sorted by relevance

/libuv/test/
H A Dtest-watcher-cross-stop.c32 static uv_udp_t sockets[1250]; variable
34 static uv_udp_t sockets[2500]; variable
36 static uv_udp_send_t reqs[ARRAY_SIZE(sockets)];
77 TEST_FILE_LIMIT(ARRAY_SIZE(sockets) + 32); in TEST_IMPL()
83 for (i = 0; i < ARRAY_SIZE(sockets); i++) { in TEST_IMPL()
84 ASSERT_OK(uv_udp_init(loop, &sockets[i])); in TEST_IMPL()
85 ASSERT_OK(uv_udp_bind(&sockets[i], in TEST_IMPL()
90 &sockets[i], in TEST_IMPL()
100 for (i = 0; i < ARRAY_SIZE(sockets); i++) in TEST_IMPL()
107 ASSERT_EQ(ARRAY_SIZE(sockets), send_cb_called); in TEST_IMPL()
[all …]
H A Dtest-poll-close.c45 uv_os_sock_t sockets[NUM_SOCKETS]; in TEST_IMPL() local
58 sockets[i] = socket(AF_INET, SOCK_STREAM, 0); in TEST_IMPL()
59 uv_poll_init_socket(uv_default_loop(), &poll_handles[i], sockets[i]); in TEST_IMPL()
/libuv/docs/src/
H A Dindex.rst27 * Asynchronous TCP and UDP sockets
32 * IPC with socket sharing, using Unix domain sockets or named pipes (Windows)
H A Dpipe.rst8 local domain sockets, pipes, and FIFOs) and named pipes on Windows.
58 Does not support Linux abstract namespace sockets,
74 Supports Linux abstract namespace sockets. ``namelen`` must include
88 Does not support Linux abstract namespace sockets,
104 Supports Linux abstract namespace sockets. ``namelen`` must include
H A Dtcp.rst33 * listener sockets.
110 ``UV_TCP_REUSEPORT`` in `flags` for all the binding sockets. That is, a successful
124 connections across all listening sockets in multiple processes or threads.
177 Create a pair of connected sockets with the specified properties.
H A Dudp.rst60 * This sets IP_RECVERR for IPv4 and IPV6_RECVERR for IPv6 UDP sockets on
72 * the receiving sockets among threads or processes.
183 In other words, other datagram-type sockets like raw sockets or netlink
184 sockets can also be passed to this function.
312 local sockets.
410 .. versionchanged:: 1.27.0 added support for connected sockets
427 .. versionchanged:: 1.27.0 added support for connected sockets
H A Ddesign.rst13 'handles' and 'streams' provide a high level abstraction for sockets and other entities;
49 I/O is performed on non-blocking sockets which are polled using the best mechanism available
51 on Windows. As part of a loop iteration the loop will block waiting for I/O activity on sockets
H A Dpoll.rst31 On windows only sockets can be polled with poll handles. On Unix any file
H A Dstream.rst198 connected state). Bound sockets or pipes will be assumed to be servers.
/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
300 When using domain sockets, a client-server pattern is usually followed with the
312 directory. This socket now behaves no different from TCP sockets as far as
330 The cool thing about domain sockets is that file descriptors can be exchanged
334 supports sending **TCP sockets or other pipes** over pipes for now.
423 .. [#] In this section domain sockets stands in for named pipes on Windows as
H A Dnetworking.rst7 repetitive and low-level tasks like setting up sockets using the BSD socket
27 Server sockets proceed by:
137 Since UDP sockets are not connected to a particular peer, the read callback
165 IPv6 sockets can be used for both IPv4 and IPv6 communication. If you want to
H A Dutilities.rst195 their sockets and other files internally. In this case it isn't possible to use
254 call whenever sockets change state. But before we go into that, we need to poll
255 on sockets whenever ``handle_socket`` is called.
H A Dfilesystem.rst171 The basic I/O handle in libuv is the stream (``uv_stream_t``). TCP sockets, UDP
172 sockets, and pipes for file I/O and IPC are all treated as stream subclasses.
H A Dbasics.rst134 I/O read callbacks (such as for files and sockets) are passed a parameter ``nread``. If ``nread`` i…
/libuv/
H A DREADME.md14 * Asynchronous TCP and UDP sockets
24 * IPC with socket sharing, using Unix domain sockets or named pipes (Windows)
H A DLINKS.md40 * [Socket Runtime](https://sockets.sh): A runtime for creating native cross-platform software on mo…
H A DChangeLog257 * linux: fix bind/connect for abstract sockets (Santiago Gimeno)
429 * linux: support abstract unix sockets (Ben Noordhuis)
688 * unix,sunos: SO_REUSEPORT not valid on all sockets (Stacey Marshall)
2236 * win,udp: allow to use uv_udp_open on bound sockets (Santiago Gimeno)
2238 * udp: add support for UDP connected sockets (Santiago Gimeno)
2728 * Revert "Revert "unix,tcp: avoid marking server sockets connected"" (Jameson
2821 * Revert "unix,tcp: avoid marking server sockets connected" (Ben Noordhuis)
2848 * unix,tcp: avoid marking server sockets connected (Jameson Nash)
2915 * unix: keep track of bound sockets sent via spawn (jBarz)
3344 * unix: do not close udp sockets on bind error (Marc Schlaich)
[all …]

Completed in 31 milliseconds