AsyncSocket.this
- this(EventLoop evLoop, int domain, SocketType type, int protocol, fd_t handle)
- this(EventLoop evLoop, int domain, SocketType type, int protocol)
- this(EventLoop eventLoop, int domain, SocketType type)
- this(EventLoop evLoop, int domain, int type, int protocol)
- this(EventLoop evLoop, int domain, int type)
libasync socket AsyncSocket
aliasesconstructorsdestructorsfunctionsmixinspropertiesvariables
Create a new asynchronous socket within domain of type using protocol from an existing OS handle. It is your responsibility to ensure that handle - in addition to being a valid socket descriptor - fulfills all requirements to be used by AsyncSocket: POSIX: Must be non-blocking (keyword O_NONBLOCK) Windows: Must be overlapped (keyword WSA_FLAG_OVERLAPPED)