るりまサーチ

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

別のキーワード

  1. new openssl::bn
  2. new openssl::asn1::asn1data
  3. new openssl::pkey::ec::group
  4. new openssl::x509::certificate
  5. start net::smtp

ライブラリ

クラス

モジュール

キーワード

検索結果

<< 1 2 > >>

Socket::AncillaryData#timestamp -> Time (39143.0)

タイムスタンプ制御メッセージに含まれる時刻を Time オブジェクト で返します。

...イムスタンプ制御メッセージ" は以下のいずれかです。
* SOL_SOCKET/SCM_TIMESTAMP (micro second) GNU/Linux, FreeBSD, NetBSD, OpenBSD, Solaris, MacOS X
* SOL_SOCKET/SCM_TIMESTAMPNS (nano second) GNU/Linux
* SOL_SOCKET/SCM_BINTIME (2**(-64) second) FreeBSD

require 'sock...
..., 0).bind {|s2|
s1.setsockopt(:SOCKET, :TIMESTAMP, true)
s2.send "a", 0, s1.local_address
ctl = s1.recvmsg.last
p ctl
#=> #<Socket::AncillaryData: INET SOCKET TIMESTAMP 2009-02-24 17:35:46.775581>
t = ctl.timestamp
p t #=> 2009-02-24 17:35:46 +0900...
...p t.usec #=> 775581
p t.nsec #=> 775581000
}
}

@see Socket::Constants::SCM_TIMESTAMP,
Socket::Constants::SCM_TIMESTAMPNS,
Socket::Constants::SCM_BINTIME,
Socket::Constants::SO_TIMESTAMP,
Socket::Constants::SO_TIMESTAMPNS,
Socket::Constants::SO_BINTIME...

Socket::Constants::SCM_TIMESTAMP -> Integer (6141.0)

Timestamp (timeval).

...Timestamp (timeval).

Socket::AncillaryData
の type として利用します。

@see Socket::AncillaryData, Socket::AncillaryData#timestamp
BasicSocket#sendmsg, BasicSocket#recvmsg...

Socket::SCM_TIMESTAMP -> Integer (6141.0)

Timestamp (timeval).

...Timestamp (timeval).

Socket::AncillaryData
の type として利用します。

@see Socket::AncillaryData, Socket::AncillaryData#timestamp
BasicSocket#sendmsg, BasicSocket#recvmsg...

Socket::Constants::SCM_TIMESTAMPNS -> Integer (6140.0)

Timestamp (timespec).

...Timestamp (timespec).

Socket::AncillaryData
の type として利用します。

@see Socket::AncillaryData, Socket::AncillaryData#timestamp
BasicSocket#sendmsg, BasicSocket#recvmsg...

Socket::SCM_TIMESTAMPNS -> Integer (6140.0)

Timestamp (timespec).

...Timestamp (timespec).

Socket::AncillaryData
の type として利用します。

@see Socket::AncillaryData, Socket::AncillaryData#timestamp
BasicSocket#sendmsg, BasicSocket#recvmsg...

絞り込み条件を変える

Socket::Constants::SO_TIMESTAMPNS -> Integer (6134.0)

@todo Receive nanosecond timestamp with datagrams (timespec)。

...@todo
Receive nanosecond timestamp with datagrams (timespec)。

@see Socket::Constants::SO_TIMESTAMP,
Socket::AncillaryData
#timestamp...

Socket::SO_TIMESTAMPNS -> Integer (6134.0)

@todo Receive nanosecond timestamp with datagrams (timespec)。

...@todo
Receive nanosecond timestamp with datagrams (timespec)。

@see Socket::Constants::SO_TIMESTAMP,
Socket::AncillaryData
#timestamp...

Socket::Constants::SO_TIMESTAMP -> Integer (6129.0)

Receive timestamp with datagrams (timeval)。 BasicSocket#getsockopt, BasicSocket#setsockopt の第2引数(optname)に使用します。

...Receive timestamp with datagrams (timeval)。
BasicSocket#getsockopt, BasicSocket#setsockopt
の第2引数(optname)に使用します。

@see getsockopt(2freebsd),
socket(7linux), Socket::Constants::SOL_SOCKET
Socket::AncillaryData
#timestamp...

Socket::SO_TIMESTAMP -> Integer (6129.0)

Receive timestamp with datagrams (timeval)。 BasicSocket#getsockopt, BasicSocket#setsockopt の第2引数(optname)に使用します。

...Receive timestamp with datagrams (timeval)。
BasicSocket#getsockopt, BasicSocket#setsockopt
の第2引数(optname)に使用します。

@see getsockopt(2freebsd),
socket(7linux), Socket::Constants::SOL_SOCKET
Socket::AncillaryData
#timestamp...

Socket::Constants::SCM_BINTIME -> Integer (40.0)

Timestamp (bintime).

...Timestamp (bintime).

Socket::AncillaryData
の type として利用します。

@see Socket::AncillaryData, Socket::AncillaryData#timestamp
BasicSocket#sendmsg, BasicSocket#recvmsg...

絞り込み条件を変える

<< 1 2 > >>