77件ヒット
[1-77件を表示]
(0.029秒)
別のキーワード
種類
- 定数 (66)
- インスタンスメソッド (11)
クラス
- BasicSocket (11)
- Socket (33)
モジュール
-
Socket
:: Constants (33)
キーワード
-
MSG
_ OOB (22) -
SCM
_ CREDS (22) -
SO
_ PEERCRED (22) - getpeereid (11)
検索結果
先頭5件
-
Socket
:: Constants :: MSG _ OOB -> Integer (18.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 (18.0) -
Process credentials
...Process credentials
Socket::AncillaryData の type として利用します。
@see Socket::AncillaryData,
BasicSocket#sendmsg, BasicSocket#recvmsg,
unix(4freebsd)... -
Socket
:: Constants :: SO _ PEERCRED -> Integer (18.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 (18.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 (18.0) -
Process credentials
...Process credentials
Socket::AncillaryData の type として利用します。
@see Socket::AncillaryData,
BasicSocket#sendmsg, BasicSocket#recvmsg,
unix(4freebsd)... -
Socket
:: SO _ PEERCRED -> Integer (18.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] (8.0) -
Unix ドメインソケットにおいて接続相手の euid と egid を 返します。
...ない場合の返り値は
不定です。
require 'socket'
Socket.unix_server_loop("/tmp/sock") {|s|
begin
euid, egid = s.getpeereid
# Check the connected client is myself or not.
next if euid != Process.uid
# do something about my resource.
ensu...