Lines Matching refs:a
21 TCP is a connection oriented, stream protocol and is therefore based on the
31 3. Call ``uv_listen`` on the handle to have a callback invoked whenever a new
32 connection is established by a client.
37 Here is a simple echo server
47 a human readable IP address, port pair to the sockaddr_in structure required by
58 When a connection is initiated by clients, the callback is required to set up
59 a handle for the client socket and associate the handle using ``uv_accept``.
78 a matter of calling ``uv_tcp_connect``. The same ``uv_connect_cb`` style
92 callback receives the ``uv_connect_t`` struct, which has a member ``.handle``
99 communication. Hence libuv doesn't offer a stream. Instead libuv provides
104 address from a `DHCP`_ server -- DHCP Discover.
121 address ``255.255.255.255`` is a broadcast address meaning that packets
123 randomly assigns a port.
126 client) and start a read on it. This will read back responses from any DHCP
129 Then we setup a similar send socket and use ``uv_udp_send`` to send
130 a *broadcast message* on port 67 (DHCP server).
135 write callbacks will receive a status code of < 0 if something went wrong.
137 Since UDP sockets are not connected to a particular peer, the read callback
172 A socket can (un)subscribe to a multicast group using:
240 ``is_internal`` is true for loopback interfaces. Note that if a physical