Lines Matching refs:socket
4 Networking in libuv is not much different from directly using the BSD socket
7 repetitive and low-level tasks like setting up sockets using the BSD socket
8 structures, DNS lookup, and tweaking various socket parameters.
39 .. rubric:: tcp-echo-server/main.c - The listen socket
48 the BSD socket APIs. The reverse can be obtained using ``uv_ip4_name``.
59 a handle for the client socket and associate the handle using ``uv_accept``.
70 be found in the code. Just remember to call ``uv_close`` when the socket isn't
81 uv_tcp_t* socket = (uv_tcp_t*)malloc(sizeof(uv_tcp_t));
82 uv_tcp_init(loop, socket);
89 uv_tcp_connect(connect, socket, (const struct sockaddr*)&dest, on_connect);
93 pointing to the socket.
125 First we setup the receiving socket to bind on all interfaces on port 68 (DHCP
129 Then we setup a similar send socket and use ``uv_udp_send`` to send
160 The TTL of packets sent on the socket can be changed using ``uv_udp_set_ttl``.
166 restrict the socket to IPv6 only, pass the ``UV_UDP_IPV6ONLY`` flag to
172 A socket can (un)subscribe to a multicast group using:
195 perform normal socket operations on the retrieved addresses. Let's connect to