method

__accept_nonblock

Importance_0
v2_6_3 - Show latest stable - 0 notes - Class: TCPServer
__accept_nonblock(p1) private

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
static VALUE
tcp_accept_nonblock(VALUE sock, VALUE ex)
{
    rb_io_t *fptr;
    union_sockaddr from;
    socklen_t len = (socklen_t)sizeof(from);

    GetOpenFile(sock, fptr);
    return rsock_s_accept_nonblock(rb_cTCPSocket, ex, fptr, &from.addr, &len);
}
Register or log in to add new notes.