るりまサーチ

最速Rubyリファレンスマニュアル検索!
33件ヒット [1-33件を表示] (0.029秒)
トップページ > クエリ:time[x] > クエリ:SO_TIMESTAMP[x] > クエリ:SO_TIMESTAMPNS[x]

別のキーワード

  1. socket so_type
  2. socket so_priority
  3. socket so_keepalive
  4. socket so_bintime
  5. socket so_donttrunc

ライブラリ

クラス

モジュール

検索結果

Socket::Constants::SO_TIMESTAMPNS -> Integer (30307.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 (30307.0)

@todo Receive nanosecond timestamp with datagrams (timespec)。

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

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

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

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

...ジに含まれる時刻を Time オブジェクト
で返します。

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