種類
- 定数 (2592)
- 特異メソッド (240)
- インスタンスメソッド (168)
- クラス (36)
クラス
- BasicSocket (60)
- IPSocket (12)
- SOCKSSocket (24)
- Socket (1344)
- TCPServer (48)
- TCPSocket (24)
- UDPSocket (24)
- UNIXServer (72)
- UNIXSocket (96)
モジュール
-
Socket
:: Constants (1296)
キーワード
-
AF
_ APPLETALK (24) -
AF
_ ATM (24) -
AF
_ AX25 (24) -
AF
_ CCITT (24) -
AF
_ CHAOS (24) -
AF
_ CNT (24) -
AF
_ COIP (24) -
AF
_ DATAKIT (24) -
AF
_ DEC (24) -
AF
_ DLI (24) -
AF
_ E164 (24) -
AF
_ ECMA (24) -
AF
_ HYLINK (24) -
AF
_ IMPLINK (24) -
AF
_ INET (24) -
AF
_ INET6 (24) -
AF
_ IPX (24) -
AF
_ ISDN (24) -
AF
_ ISO (24) -
AF
_ LAT (24) -
AF
_ LINK (24) -
AF
_ LOCAL (24) -
AF
_ NATM (24) -
AF
_ NDRV (24) -
AF
_ NETBIOS (24) -
AF
_ NETGRAPH (24) -
AF
_ NS (24) -
AF
_ OSI (24) -
AF
_ PACKET (24) -
AF
_ PPP (24) -
AF
_ PUP (24) -
AF
_ ROUTE (24) -
AF
_ SIP (24) -
AF
_ SNA (24) -
AF
_ SYSTEM (24) -
AF
_ UNIX (24) -
AF
_ UNSPEC (24) -
IFF
_ OVS _ DATAPATH (24) -
IPPROTO
_ AH (24) -
IPPROTO
_ BIP (24) -
IPPROTO
_ DSTOPTS (24) -
IPPROTO
_ EGP (24) -
IPPROTO
_ EON (24) -
IPPROTO
_ ESP (24) -
IPPROTO
_ FRAGMENT (24) -
IPPROTO
_ GGP (24) -
IPPROTO
_ HELLO (24) -
IPPROTO
_ HOPOPTS (24) -
IPPROTO
_ ICMP (24) -
IPPROTO
_ ICMPV6 (24) -
IPPROTO
_ IDP (24) -
IPPROTO
_ IGMP (24) -
IPPROTO
_ IP (24) -
IPPROTO
_ IPV6 (24) -
IPPROTO
_ ND (24) -
IPPROTO
_ NONE (24) -
IPPROTO
_ PUP (24) -
IPPROTO
_ RAW (24) -
IPPROTO
_ ROUTING (24) -
IPPROTO
_ TCP (24) -
IPPROTO
_ TP (24) -
IPPROTO
_ UDP (24) -
IPPROTO
_ XTP (24) -
PF
_ APPLETALK (24) -
PF
_ ATM (24) -
PF
_ AX25 (24) -
PF
_ CCITT (24) -
PF
_ CHAOS (24) -
PF
_ CNT (24) -
PF
_ COIP (24) -
PF
_ DATAKIT (24) -
PF
_ DEC (24) -
PF
_ DLI (24) -
PF
_ ECMA (24) -
PF
_ HYLINK (24) -
PF
_ IMPLINK (24) -
PF
_ INET (24) -
PF
_ INET6 (24) -
PF
_ IPX (24) -
PF
_ ISDN (24) -
PF
_ ISO (24) -
PF
_ KEY (24) -
PF
_ LAT (24) -
PF
_ LINK (24) -
PF
_ LOCAL (24) -
PF
_ NATM (24) -
PF
_ NDRV (24) -
PF
_ NETBIOS (24) -
PF
_ NETGRAPH (24) -
PF
_ NS (24) -
PF
_ OSI (24) -
PF
_ PACKET (24) -
PF
_ PIP (24) -
PF
_ PPP (24) -
PF
_ PUP (24) -
PF
_ ROUTE (24) -
PF
_ RTIP (24) -
PF
_ SIP (24) -
PF
_ SNA (24) -
PF
_ SYSTEM (24) -
PF
_ UNIX (24) -
PF
_ UNSPEC (24) -
SOCK
_ DGRAM (24) -
SOCK
_ PACKET (24) -
SOCK
_ RAW (24) -
SOCK
_ RDM (24) -
SOCK
_ SEQPACKET (24) -
SOCK
_ STREAM (24) - Socket (12)
- TCPServer (12)
- TCPSocket (12)
- accept (24)
- addr (12)
-
do
_ not _ reverse _ lookup (12) - getpeername (12)
- getsockname (12)
-
local
_ address (12) - new (108)
- pair (12)
- path (12)
- peeraddr (24)
- recvfrom (12)
-
remote
_ address (12) - socketpair (12)
- sysaccept (24)
検索結果
先頭5件
-
UDPSocket
. open(address _ family=Socket :: AF _ INET) -> UDPSocket (15103.0) -
新しい UDP ソケットを返します。
...ss_family には Socket::AF_INET のような整数、:INET のような
シンボル、"INET" のような文字列を指定することができます。
require 'socket'
UDPSocket.new # => #<UDPSocket:fd 3>
UDPSocket.new(Socket::AF_INET6) # => #<UDPSocket:fd 4>
@param a... -
Socket
. pair(domain , type , protocol=0) -> Array (42.0) -
相互に結合されたソケットのペアを含む2要素の配列を返します。 引数の指定は Socket.open と同じです。
...のペアを含む2要素の配列を返します。
引数の指定は Socket.open と同じです。
@param domain Socket.open を参照してください。
@param type Socket.open を参照してください。
@param protocol Socket.open を参照してください。
@see Socket.open... -
Socket
. socketpair(domain , type , protocol=0) -> Array (42.0) -
相互に結合されたソケットのペアを含む2要素の配列を返します。 引数の指定は Socket.open と同じです。
...のペアを含む2要素の配列を返します。
引数の指定は Socket.open と同じです。
@param domain Socket.open を参照してください。
@param type Socket.open を参照してください。
@param protocol Socket.open を参照してください。
@see Socket.open... -
Socket
:: AF _ ISO -> Integer (34.0) -
@todo ISO Open Systems Interconnection protocols。 Socket.open の第一引数 domain に使用します。
...@todo
ISO Open Systems Interconnection protocols。
Socket.open の第一引数 domain に使用します。... -
Socket
:: AF _ OSI -> Integer (34.0) -
@todo ISO Open Systems Interconnection protocols。 Socket.open の第一引数 domain に使用します。
...@todo
ISO Open Systems Interconnection protocols。
Socket.open の第一引数 domain に使用します。... -
Socket
:: Constants :: AF _ ISO -> Integer (34.0) -
@todo ISO Open Systems Interconnection protocols。 Socket.open の第一引数 domain に使用します。
...@todo
ISO Open Systems Interconnection protocols。
Socket.open の第一引数 domain に使用します。... -
Socket
:: Constants :: AF _ OSI -> Integer (34.0) -
@todo ISO Open Systems Interconnection protocols。 Socket.open の第一引数 domain に使用します。
...@todo
ISO Open Systems Interconnection protocols。
Socket.open の第一引数 domain に使用します。... -
Socket
:: Constants :: PF _ ISO -> Integer (34.0) -
@todo ISO Open Systems Interconnection protocols。 Socket.open の第一引数 domain に使用します。
...@todo
ISO Open Systems Interconnection protocols。
Socket.open の第一引数 domain に使用します。... -
Socket
:: Constants :: PF _ OSI -> Integer (34.0) -
@todo ISO Open Systems Interconnection protocols。 Socket.open の第一引数 domain に使用します。
...@todo
ISO Open Systems Interconnection protocols。
Socket.open の第一引数 domain に使用します。...