Function init

Synopsis

#include <src/uvw/tcp.h>

bool init()

Description

Initializes the handle. No socket is created as of yet.

Returns
True in case of success, false otherwise.

Source

Lines 16-18 in src/uvw/tcp.cpp. Line 59 in src/uvw/tcp.h.

UVW_INLINE bool TCPHandle::init() {
    return (tag == FLAGS) ? initialize(&uv_tcp_init_ex, flags) : initialize(&uv_tcp_init);
}





Add Discussion as Guest

Log in