method

__accept_nonblock

Importance_0
v2_5_5 - Show latest stable - 0 notes - Class: UNIXServer
__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
unix_accept_nonblock(VALUE sock, VALUE ex)
{
    rb_io_t *fptr;
    struct sockaddr_un from;
    socklen_t fromlen;

    GetOpenFile(sock, fptr);
    fromlen = (socklen_t)sizeof(from);
    return rsock_s_accept_nonblock(rb_cUNIXSocket, ex, fptr,
                                   (struct sockaddr *)&from, &fromlen);
}
Register or log in to add new notes.