7件ヒット
[1-7件を表示]
(0.023秒)
別のキーワード
種類
- 定数 (6)
- インスタンスメソッド (1)
クラス
- BasicSocket (1)
- Socket (3)
モジュール
キーワード
-
MSG
_ OOB (2) -
SCM
_ CREDS (2) -
SO
_ PEERCRED (2) - getpeereid (1)
検索結果
先頭5件
-
Socket
:: Constants :: MSG _ OOB -> Integer (55.0) -
Process out-of-band data。
...Process out-of-band data。
BasicSocket#send, BasicSocket#sendmsg,
BasicSocket#recv, BasicSocket#recvmsg の
flags 引数に用います。
@see sys/socket.h(header),
send(2), sendto(2), sendmsg(2),
recv(2), recvfrom(2), recvmsg(2),
send(2linux), recv(2linux),
send(2freebsd), r... -
Socket
:: Constants :: SCM _ CREDS -> Integer (55.0) -
Process credentials
...Process credentials
Socket::AncillaryData の type として利用します。
@see Socket::AncillaryData,
BasicSocket#sendmsg, BasicSocket#recvmsg,
unix(4freebsd)... -
Socket
:: Constants :: SO _ PEERCRED -> Integer (55.0) -
The credentials of the foreign process connected to this socket。 BasicSocket#getsockopt, BasicSocket#setsockopt の第2引数(optname)に使用します。
...The credentials of the foreign process connected to this socket。
BasicSocket#getsockopt, BasicSocket#setsockopt
の第2引数(optname)に使用します。
@see socket(7linux), unix(7linux), socketpair(2linux),
Socket::Constants::SOL_SOCKET... -
Socket
:: MSG _ OOB -> Integer (55.0) -
Process out-of-band data。
...Process out-of-band data。
BasicSocket#send, BasicSocket#sendmsg,
BasicSocket#recv, BasicSocket#recvmsg の
flags 引数に用います。
@see sys/socket.h(header),
send(2), sendto(2), sendmsg(2),
recv(2), recvfrom(2), recvmsg(2),
send(2linux), recv(2linux),
send(2freebsd), r... -
Socket
:: SCM _ CREDS -> Integer (55.0) -
Process credentials
...Process credentials
Socket::AncillaryData の type として利用します。
@see Socket::AncillaryData,
BasicSocket#sendmsg, BasicSocket#recvmsg,
unix(4freebsd)... -
Socket
:: SO _ PEERCRED -> Integer (55.0) -
The credentials of the foreign process connected to this socket。 BasicSocket#getsockopt, BasicSocket#setsockopt の第2引数(optname)に使用します。
...The credentials of the foreign process connected to this socket。
BasicSocket#getsockopt, BasicSocket#setsockopt
の第2引数(optname)に使用します。
@see socket(7linux), unix(7linux), socketpair(2linux),
Socket::Constants::SOL_SOCKET... -
BasicSocket
# getpeereid -> [Integer , Integer] (25.0) -
Unix ドメインソケットにおいて接続相手の euid と egid を 返します。
..., 2番目の要素が egid です。
ソケットが Unix ドメインソケットでない場合の返り値は
不定です。
require 'socket'
Socket.unix_server_loop("/tmp/sock") {|s|
begin
euid, egid = s.getpeereid
# Check the connected client is myself or not....