Class: UNIXSocket

Inherits:
BasicSocket show all
Defined in:
socket.c

Direct Known Subclasses

UNIXServer

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from BasicSocket

#close_read, #close_write, do_not_reverse_lookup, do_not_reverse_lookup=, for_fd, #getpeername, #getsockname, #getsockopt, #recv, #recv_nonblock, #send, #setsockopt, #shutdown

Constructor Details

#initializeObject



1884
1885
1886
# File 'socket.c', line 1884

static VALUE
unix_init(sock, path)
VALUE sock, path;

Class Method Details

.pairObject



2375
2376
2377
# File 'socket.c', line 2375

static VALUE
unix_s_socketpair(argc, argv, klass)
int argc;

.socketpairObject



2375
2376
2377
# File 'socket.c', line 2375

static VALUE
unix_s_socketpair(argc, argv, klass)
int argc;

Instance Method Details

#addrObject



2210
2211
2212
# File 'socket.c', line 2210

static VALUE
unix_addr(sock)
VALUE sock;

#pathObject



1900
1901
1902
# File 'socket.c', line 1900

static VALUE
unix_path(sock)
VALUE sock;

#peeraddrObject



2225
2226
2227
# File 'socket.c', line 2225

static VALUE
unix_peeraddr(sock)
VALUE sock;

#recv_ioObject



2023
2024
2025
# File 'socket.c', line 2023

static VALUE
unix_recv_io(argc, argv, sock)
int argc;

#recvfromObject



1924
1925
1926
# File 'socket.c', line 1924

static VALUE
unix_recvfrom(argc, argv, sock)
int argc;

#send_ioObject



1945
1946
1947
# File 'socket.c', line 1945

static VALUE
unix_send_io(sock, val)
VALUE sock, val;