種類
- 定数 (88)
- インスタンスメソッド (11)
ライブラリ
- socket (99)
クラス
- Socket (44)
-
Socket
:: AncillaryData (11)
モジュール
-
Socket
:: Constants (44)
キーワード
-
AF
_ LOCAL (22) -
PF
_ LOCAL (22) -
PF
_ UNIX (22) -
unix
_ rights (11)
検索結果
先頭5件
-
Socket
:: AF _ UNIX -> Integer (18233.0) -
Unix domain socket。 Socket.open の第一引数 domain に使用します。
...Unix domain socket。
Socket.open の第一引数 domain に使用します。
@see sys/socket.h(header), unix(7linux)... -
Socket
:: Constants :: AF _ UNIX -> Integer (18233.0) -
Unix domain socket。 Socket.open の第一引数 domain に使用します。
...Unix domain socket。
Socket.open の第一引数 domain に使用します。
@see sys/socket.h(header), unix(7linux)... -
Socket
:: AncillaryData # unix _ rights -> [IO] | nil (6122.0) -
Unix domain socket の SCM_RIGHTS 制御メッセージに含まれる ファイルディスクリプタを IO オブジェクトの配列として返します。
...Unix domain socket の SCM_RIGHTS 制御メッセージに含まれる
ファイルディスクリプタを IO オブジェクトの配列として返します。
得られる IO オブジェクトか IO か Socket です。
この配列は Socket::AncillaryData が初期化されたときに
作......ば BasicSocket#recvmsg を :scm_rights => true
オプションを付けて呼びだし、
SCM_RIGHTS な 制御メッセージを受け取ったときに配列が作られます。
適切なオプションを指定しなかった場合は配列は生成されず、
このメソッドは nil を返......ights returns nil
s1, s2 = UNIXSocket.pair
s1.sendmsg "stdin and a socket", 0, nil, Socket::AncillaryData.unix_rights(STDIN, s1)
_, _, _, ctl = s2.recvmsg
p ctl #=> #<Socket::AncillaryData: UNIX SOCKET RIGHTS 6 7>
p ctl.unix_rights #=> nil
@raise TypeError family/level/type が AF_UNIX... -
Socket
:: Constants :: PF _ UNIX -> Integer (3133.0) -
Unix domain socket。 Socket.open の第一引数 domain に使用します。
...Unix domain socket。
Socket.open の第一引数 domain に使用します。
@see sys/socket.h(header), unix(7linux)... -
Socket
:: PF _ UNIX -> Integer (3133.0) -
Unix domain socket。 Socket.open の第一引数 domain に使用します。
...Unix domain socket。
Socket.open の第一引数 domain に使用します。
@see sys/socket.h(header), unix(7linux)... -
Socket
:: AF _ LOCAL -> Integer (133.0) -
Unix domain socket。 Socket.open の第一引数 domain に使用します。
...Unix domain socket。
Socket.open の第一引数 domain に使用します。
@see sys/socket.h(header), unix(7linux)... -
Socket
:: Constants :: AF _ LOCAL -> Integer (133.0) -
Unix domain socket。 Socket.open の第一引数 domain に使用します。
...Unix domain socket。
Socket.open の第一引数 domain に使用します。
@see sys/socket.h(header), unix(7linux)... -
Socket
:: Constants :: PF _ LOCAL -> Integer (133.0) -
Unix domain socket。 Socket.open の第一引数 domain に使用します。
...Unix domain socket。
Socket.open の第一引数 domain に使用します。
@see sys/socket.h(header), unix(7linux)... -
Socket
:: PF _ LOCAL -> Integer (133.0) -
Unix domain socket。 Socket.open の第一引数 domain に使用します。
...Unix domain socket。
Socket.open の第一引数 domain に使用します。
@see sys/socket.h(header), unix(7linux)...