Flowdock
accept() public

No documentation

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

Hide source
static VALUE
unix_accept(VALUE sock)
{
    rb_io_t *fptr;
    struct sockaddr_un from;
    socklen_t fromlen;

    GetOpenFile(sock, fptr);
    fromlen = sizeof(struct sockaddr_un);
    return s_accept(rb_cUNIXSocket, fptr->fd,
                    (struct sockaddr*)&from, &fromlen);
}
Register or log in to add new notes.