19件ヒット
[1-19件を表示]
(0.088秒)
種類
- インスタンスメソッド (15)
- 変数 (2)
- 定数 (2)
クラス
モジュール
- Kernel (2)
-
Socket
:: Constants (1)
キーワード
-
$ CHILD _ STATUS (1) -
$ LAST _ MATCH _ INFO (1) -
TCP
_ INFO (2) - about= (7)
- getpeereid (1)
検索結果
先頭5件
-
RSS
:: ImageFaviconModel :: ImageFavicon # about (72307.0) -
@todo
@todo -
RSS
:: ImageItemModel :: ImageItem # about (72307.0) -
@todo
@todo -
RSS
:: TaxonomyTopicModel :: TaxonomyTopic # about (72307.0) -
@todo
@todo -
RSS
:: RDF :: Channel :: ImageFavicon # about (63307.0) -
@todo
@todo -
RSS
:: RDF :: Image # about (63307.0) -
@todo
@todo -
RSS
:: RDF :: Item # about (63307.0) -
@todo
@todo -
RSS
:: RDF :: Textinput # about (63307.0) -
@todo
@todo -
RSS
:: ImageFaviconModel :: ImageFavicon # about= (36307.0) -
@todo
@todo -
RSS
:: ImageItemModel :: ImageItem # about= (36307.0) -
@todo
@todo -
RSS
:: TaxonomyTopicModel :: TaxonomyTopic # about= (36307.0) -
@todo
@todo -
RSS
:: RDF :: Channel :: ImageFavicon # about= (27307.0) -
@todo
@todo -
RSS
:: RDF :: Image # about= (27307.0) -
@todo
@todo -
RSS
:: RDF :: Item # about= (27307.0) -
@todo
@todo -
RSS
:: RDF :: Textinput # about= (27307.0) -
@todo
@todo -
Socket
:: Constants :: TCP _ INFO -> Integer (18649.0) -
Retrieve information about this socket。 BasicSocket#getsockopt, BasicSocket#setsockopt の第2引数(optname)に使用します。
Retrieve information about this socket。
BasicSocket#getsockopt, BasicSocket#setsockopt
の第2引数(optname)に使用します。
@see tcp(4freebsd), tcp(7linux) -
Socket
:: TCP _ INFO -> Integer (18649.0) -
Retrieve information about this socket。 BasicSocket#getsockopt, BasicSocket#setsockopt の第2引数(optname)に使用します。
Retrieve information about this socket。
BasicSocket#getsockopt, BasicSocket#setsockopt
の第2引数(optname)に使用します。
@see tcp(4freebsd), tcp(7linux) -
Kernel
$ $ CHILD _ STATUS -> Process :: Status | nil (18637.0) -
$? の別名
$? の別名
require "English"
out = `wget https://www.ruby-lang.org/en/about/license.txt -O - 2>/dev/null`
if $CHILD_STATUS.to_i == 0
print "wget success\n"
out.split(/\n/).each { |line|
printf "%s\n", line
}
else
print "wget failed\n"
end -
Kernel
$ $ LAST _ MATCH _ INFO -> MatchData | nil (18355.0) -
$~ の別名
$~ の別名
require "English"
str = "<a href=https://www.ruby-lang.org/en/about/license.txt>license</a>"
if /<a href=(.+?)>/ =~ str
p $LAST_MATCH_INFO[0] #=> "<a href=https://www.ruby-lang.org/en/about/license.txt>"
p $LAST_MATCH_INFO[1] #=> "https://www.ruby-lang.org/en/about/license.t... -
BasicSocket
# getpeereid -> [Integer , Integer] (18319.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 ...