別のキーワード
検索結果
先頭5件
-
Socket
:: AF _ UNIX -> Integer (45658.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 (45658.0) -
Unix domain socket。 Socket.open の第一引数 domain に使用します。
...Unix domain socket。
Socket.open の第一引数 domain に使用します。
@see sys/socket.h(header), unix(7linux)... -
UNIXSocket
# addr -> [String , String] (463.0) -
ソケットの接続情報を表す配列を返します。配列の各要素は第1要 素が文字列 "AF_UNIX"、第2要素がパスを表す文字列です。
...す。
例:
require 'socket'
UNIXServer.open("/tmp/s") {|serv|
p serv.addr #=> ["AF_UNIX", "/tmp/s"]
}
UNIXServer.open("/tmp/s") {|serv|
c = UNIXSocket.open("/tmp/s")
p c.peeraddr #=> ["AF_UNIX", "/tmp/s"]
p c.addr #=> ["AF_UNIX", ""]
}
@see UNIXSocket#peeraddr... -
UNIXSocket
# peeraddr -> [String , String] (427.0) -
接続相手先ソケットの情報を表す配列を返します。配列の各要素は第1要 素が文字列 "AF_UNIX"、第2要素がパスを表す文字列です。
...各要素は第1要
素が文字列 "AF_UNIX"、第2要素がパスを表す文字列です。
例:
require 'socket'
UNIXServer.open("/tmp/s") {|serv|
c = UNIXSocket.open("/tmp/s")
p c.peeraddr #=> ["AF_UNIX", "/tmp/s"]
p c.addr #=> ["AF_UNIX", ""]
}
@see UNIXSocket#addr... -
Socket
:: AF _ LOCAL -> Integer (358.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 (358.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 (358.0) -
Unix domain socket。 Socket.open の第一引数 domain に使用します。
...Unix domain socket。
Socket.open の第一引数 domain に使用します。
@see sys/socket.h(header), unix(7linux)... -
Socket
:: Constants :: PF _ UNIX -> Integer (358.0) -
Unix domain socket。 Socket.open の第一引数 domain に使用します。
...Unix domain socket。
Socket.open の第一引数 domain に使用します。
@see sys/socket.h(header), unix(7linux)... -
Socket
:: PF _ LOCAL -> Integer (358.0) -
Unix domain socket。 Socket.open の第一引数 domain に使用します。
...Unix domain socket。
Socket.open の第一引数 domain に使用します。
@see sys/socket.h(header), unix(7linux)... -
Socket
:: PF _ UNIX -> Integer (358.0) -
Unix domain socket。 Socket.open の第一引数 domain に使用します。
...Unix domain socket。
Socket.open の第一引数 domain に使用します。
@see sys/socket.h(header), unix(7linux)...