るりまサーチ

最速Rubyリファレンスマニュアル検索!
36件ヒット [1-36件を表示] (0.071秒)

別のキーワード

  1. rss about=
  2. rss about
  3. imagefavicon about
  4. imagefavicon about=
  5. item about

ライブラリ

キーワード

検索結果

RSS::TrackBackModel10::TrackBackAbout#resource (21103.0)

@todo

@todo

RSS::TrackBackModel10::TrackBackAbout#resource= (9103.0)

@todo

@todo

BasicSocket#getpeereid -> [Integer, Integer] (13.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.
ensure
s.close
end
}...