Lines Matching refs:callback
31 3. Call ``uv_listen`` on the handle to have a callback invoked whenever a new
55 ``uv_listen`` is where we return to libuv's callback style. The second
58 When a connection is initiated by clients, the callback is required to set up
71 required. This can be done even in the ``uv_listen`` callback if you are not
79 callback of ``uv_listen`` is used by ``uv_tcp_connect``. Try::
92 callback receives the ``uv_connect_t`` struct, which has a member ``.handle``
137 Since UDP sockets are not connected to a particular peer, the read callback
141 it indicates there is nothing to read (the callback shouldn't do anything), if
194 ``getaddrinfo`` replacement [#]_. In the callback you can
206 your callback won't be invoked at all. All arguments can be freed immediately
209 callback can be ``NULL`` in which case the function will run synchronously.
211 In the resolver callback, you can pick any IP from the linked list of ``struct
213 call ``uv_freeaddrinfo`` in the callback.