Lines Matching refs:c

4 :c:type:`uv_tcp_t` --- TCP handle
9 :c:type:`uv_tcp_t` is a 'subclass' of :c:type:`uv_stream_t`.
15 .. c:type:: uv_tcp_t
19 .. c:enum:: uv_tcp_flags
21 Flags used in :c:func:`uv_tcp_bind`.
47 .. seealso:: The :c:type:`uv_stream_t` members also apply.
53 .. c:function:: int uv_tcp_init(uv_loop_t* loop, uv_tcp_t* handle)
57 .. c:function:: int uv_tcp_init_ex(uv_loop_t* loop, uv_tcp_t* handle, unsigned int flags)
62 just like :c:func:`uv_tcp_init`.
66 .. c:function:: int uv_tcp_open(uv_tcp_t* handle, uv_os_sock_t sock)
76 .. c:function:: int uv_tcp_nodelay(uv_tcp_t* handle, int enable)
80 .. c:function:: int uv_tcp_keepalive(uv_tcp_t* handle, int enable, unsigned int delay)
94 .. c:function:: int uv_tcp_simultaneous_accepts(uv_tcp_t* handle, int enable)
104 .. c:function:: int uv_tcp_bind(uv_tcp_t* handle, const struct sockaddr* addr, unsigned int flags)
109 error from :c:func:`uv_listen` or :c:func:`uv_tcp_connect` unless you specify
111 call to this function does not guarantee that the call to :c:func:`uv_listen` or
112 :c:func:`uv_tcp_connect` will succeed as well.
114 :param handle: TCP handle. It should have been initialized with :c:func:`uv_tcp_init`.
135 .. c:function:: int uv_tcp_getsockname(const uv_tcp_t* handle, struct sockaddr* name, int* namelen)
141 .. c:function:: int uv_tcp_getpeername(const uv_tcp_t* handle, struct sockaddr* name, int* namelen)
147 .. c:function:: int uv_tcp_connect(uv_connect_t* req, uv_tcp_t* handle, const struct sockaddr* addr…
150 and an uninitialized :c:type:`uv_connect_t`. `addr` should point to an
163 .. seealso:: The :c:type:`uv_stream_t` API functions also apply.
165 .. c:function:: int uv_tcp_close_reset(uv_tcp_t* handle, uv_close_cb close_cb)
169 then calling :c:func:`uv_close`.
170 Due to some platform inconsistencies, mixing of :c:func:`uv_shutdown` and
171 :c:func:`uv_tcp_close_reset` calls is not allowed.
175 .. c:function:: int uv_socketpair(int type, int protocol, uv_os_sock_t socket_vector[2], int flags0…