ライブラリ
クラス
-
ARGF
. class (24) - BasicSocket (36)
-
OpenSSL
:: SSL :: SSLContext (12) - OptionParser (120)
-
RDoc
:: Options (24) - Regexp (12)
- Socket (36)
-
Socket
:: Option (120) -
WEBrick
:: HTTPServlet :: AbstractServlet (12)
モジュール
- Kernel (72)
-
Socket
:: Constants (36) - Syslog (12)
-
Syslog
:: Option (72)
キーワード
-
IPPROTO
_ DSTOPTS (24) -
IP
_ OPTIONS (24) -
IP
_ PKTOPTIONS (24) -
LOG
_ CONS (12) -
LOG
_ NDELAY (12) -
LOG
_ NOWAIT (12) -
LOG
_ ODELAY (12) -
LOG
_ PERROR (12) -
LOG
_ PID (12) -
NEWS for Ruby 2
. 0 . 0 (12) -
NEWS for Ruby 3
. 0 . 0 (5) - bool (12)
-
coverage
_ report (12) - data (12)
-
do
_ OPTIONS (12) -
e
_ option _ supplied (12) - family (12)
- getsockopt (12)
- level (12)
- linger (12)
-
method
_ list (12) - new (12)
- optname (12)
- order (36)
- order! (18)
- parse (18)
- parse! (9)
- permute (18)
- permute! (9)
-
ruby 1
. 6 feature (12) -
ruby 1
. 8 . 4 feature (12) -
set
_ encoding (24) - setsockopt (24)
- spawn (48)
-
summary
_ width (12) -
tab
_ width (12) -
to
_ s (12) -
try
_ link (24)
検索結果
先頭5件
-
Socket
:: Option . int(family , level , optname , integer) -> Socket :: Option (21318.0) -
整数をデータとして持つ Socket::Option オブジェクト新たに生成し返します。
...整数をデータとして持つ Socket::Option オブジェクト新たに生成し返します。
family, level, optname には Socket::SOL_SOCKET のような整数の他、
文字列("SOL_SOCKET", "SOCKET")、シンボル(:SOL_SOCKET, :SOCKET)を
指定することができます。
@param f......amily ソケットファミリー
@param level ソケットオプションレベル
@param optname オプションの名前
@param integer データ(整数)... -
Socket
:: Option # int -> Integer (21213.0) -
オプションのデータ(内容)を整数に変換して返します。
...オプションのデータ(内容)を整数に変換して返します。
@raise TypeError dataのバイト数が不適切である(sizeof(int)と異なる)場合に発生します
@see Socket::Option#data... -
OpenSSL
:: SSL :: SSLContext # options -> Integer | nil (18200.0) -
設定されているオプションフラグを返します。
...設定されているオプションフラグを返します。
@see OpenSSL::SSL::SSLContext#options=... -
Regexp
# options -> Integer (18200.0) -
正規表現の生成時に指定されたオプションを返します。戻り値は、 Regexp::EXTENDED, Regexp::IGNORECASE, Regexp::MULTILINE, Regexp::FIXEDENCODING, Regexp::NOENCODING, の論理和です。
...GNORECASE # => 1
p //i.options # => 1
p Regexp.new("foo", Regexp::IGNORECASE ).options # => 1
p Regexp.new("foo", Regexp::EXTENDED).options # => 2
p Regexp.new("foo", Regexp::IGNORECASE | Regexp::EXTENDED).options # => 3
p Regexp.new("foo", Regexp::MULTILINE).options # => 4
p Regexp.new("......foo", Regexp::IGNORECASE | Regexp::MULTILINE ).options # => 5
p Regexp.new("foo", Regexp::MULTILINE | Regexp::EXTENDED).options # =>6
p Regexp.new("foo", Regexp::IGNORECASE | Regexp::MULTILINE | Regexp::EXTENDED).options # => 7
//}... -
Syslog
. # options -> Integer | nil (15200.0) -
最後のopenで与えられた対応する引数を返します。
...最後のopenで与えられた対応する引数を返します。
使用例
require 'syslog'
Syslog.open("syslogtest")
p Syslog.ident #=> "syslogtest"
p Syslog.options #=> 3
p Syslog.facility #=> 8... -
Socket
:: Constants :: IP _ OPTIONS -> Integer (6200.0) -
IP options to be included in packets。 BasicSocket#getsockopt, BasicSocket#setsockopt の第2引数(optname)に使用します。
...IP options to be included in packets。
BasicSocket#getsockopt, BasicSocket#setsockopt
の第2引数(optname)に使用します。
@see Socket::Constants::IPPROTO_IP,
ip(4freebsd), ip(7linux)... -
Socket
:: Constants :: IP _ PKTOPTIONS -> Integer (6200.0) -
@todo Receive packet options with datagrams
...@todo
Receive packet options with datagrams... -
Socket
:: IP _ OPTIONS -> Integer (6200.0) -
IP options to be included in packets。 BasicSocket#getsockopt, BasicSocket#setsockopt の第2引数(optname)に使用します。
...IP options to be included in packets。
BasicSocket#getsockopt, BasicSocket#setsockopt
の第2引数(optname)に使用します。
@see Socket::Constants::IPPROTO_IP,
ip(4freebsd), ip(7linux)... -
Socket
:: IP _ PKTOPTIONS -> Integer (6200.0) -
@todo Receive packet options with datagrams
...@todo
Receive packet options with datagrams...