165件ヒット
[101-165件を表示]
(0.076秒)
クラス
キーワード
- about= (77)
- getpeereid (11)
検索結果
先頭5件
-
RSS
:: TaxonomyTopicModel :: TaxonomyTopic # about= (12103.0) -
@todo
@todo -
RSS
:: RDF :: Channel :: ImageFavicon # about= (9103.0) -
@todo
@todo -
RSS
:: RDF :: Image # about= (9103.0) -
@todo
@todo -
RSS
:: RDF :: Item # about= (9103.0) -
@todo
@todo -
RSS
:: RDF :: Textinput # about= (9103.0) -
@todo
@todo -
BasicSocket
# getpeereid -> [Integer , Integer] (6107.0) -
Unix ドメインソケットにおいて接続相手の euid と egid を 返します。
...Unix ドメインソケットにおいて接続相手の euid と egid を
返します。
配列の最初の要素が euid, 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.
next if euid != Process.uid
# do something about my resource.
ensure
s.close
end
}...