This is the API documentation for socket: Ruby Standard Library Documentation.
CBasicSocket
CIPSocket
CObject
CSOCKSSocket
CSocket
MSocket::Constants
CSocketError
CTCPServer
CTCPSocket
CUDPSocket
CUNIXServer
CUNIXSocket
::do_not_reverse_lookup (BasicSocket)
::do_not_reverse_lookup= (BasicSocket)
::for_fd (BasicSocket)
::getaddress (IPSocket)
::getaddrinfo (Socket)
::gethostbyaddr (Socket)
::gethostbyname (Socket)
::gethostbyname (TCPSocket)
::gethostname (Socket)
::getnameinfo (Socket)
::getservbyname (Socket)
::new (SOCKSSocket)
::new (Socket)
::new (TCPServer)
::new (TCPSocket)
::new (UDPSocket)
::new (UNIXServer)
::new (UNIXSocket)
::pack_sockaddr_in (Socket)
::pack_sockaddr_un (Socket)
::pair (Socket)
::pair (UNIXSocket)
::sockaddr_in (Socket)
::sockaddr_un (Socket)
::socketpair (Socket)
::socketpair (UNIXSocket)
::unpack_sockaddr_in (Socket)
::unpack_sockaddr_un (Socket)
#accept (Socket)
#accept (TCPServer)
#accept (UNIXServer)
#accept_nonblock (Socket)
#accept_nonblock (TCPServer)
#accept_nonblock (UNIXServer)
#addr (IPSocket)
#addr (UNIXSocket)
#bind (Socket)
#bind (UDPSocket)
#close (SOCKSSocket)
#close_read (BasicSocket)
#close_write (BasicSocket)
#connect (Socket)
#connect (UDPSocket)
#connect_nonblock (Socket)
#getpeername (BasicSocket)
#getsockname (BasicSocket)
#getsockopt (BasicSocket)
#listen (Socket)
#listen (TCPServer)
#listen (UNIXServer)
#path (UNIXSocket)
#peeraddr (IPSocket)
#peeraddr (UNIXSocket)
#recv (BasicSocket)
#recv_io (UNIXSocket)
#recv_nonblock (BasicSocket)
#recvfrom (IPSocket)
#recvfrom (Socket)
#recvfrom (UNIXSocket)
#recvfrom_nonblock (Socket)
#recvfrom_nonblock (UDPSocket)
#send (BasicSocket)
#send (UDPSocket)
#send_io (UNIXSocket)
#setsockopt (BasicSocket)
#shutdown (BasicSocket)
#sysaccept (Socket)
#sysaccept (TCPServer)
#sysaccept (UNIXServer)