るりまサーチ

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

別のキーワード

  1. socket sock_raw
  2. socket sock_rdm
  3. socket sock_packet
  4. socket sock_stream
  5. socket sock_dgram

ライブラリ

クラス

モジュール

検索結果

<< 1 2 3 ... > >>

Socket::AncillaryData#type -> Integer (21123.0)

自身が保持している cmsg type (種類) を返します。

...自身が保持している cmsg type (種類) を返します。

require 'socket'

p Socket::AncillaryData.new(:INET6, :IPV6, :PKTINFO, "").type
#=> 2

@see Socket::AncillaryData.new...

Socket::Constants::EAI_SOCKTYPE -> Integer (15216.0)

Socket type not supported

...Socket type not supported

getaddrinfo(3), getnameinfo(3) などの
エラーコードです。
対応する Socket.getaddrinfo, Addrinfo.getaddrinfo などは
エラーを SocketError に変換するため、この定数は直接は利用しません。

@see getaddrinfo(3linux), gai_strerror(3free...

Socket::EAI_SOCKTYPE -> Integer (15216.0)

Socket type not supported

...Socket type not supported

getaddrinfo(3), getnameinfo(3) などの
エラーコードです。
対応する Socket.getaddrinfo, Addrinfo.getaddrinfo などは
エラーを SocketError に変換するため、この定数は直接は利用しません。

@see getaddrinfo(3linux), gai_strerror(3free...

Addrinfo#socktype -> Integer (12206.0)

ソケットタイプを整数で返します。

...ソケットタイプを整数で返します。

require 'socket'

Addrinfo.tcp("localhost", 80).socktype == Socket::SOCK_STREAM #=> true...

Net::POP3.socket_type -> Class (12201.0)

このメソッドは obsolete です。 使わないでください。

このメソッドは obsolete です。
使わないでください。

絞り込み条件を変える

Socket::Constants::IPV6_RTHDR_TYPE_0 -> Integer (9117.0)

Routing header type 0。 BasicSocket#getsockopt, BasicSocket#setsockopt の第2引数(optname)に使用します。

...Routing header type 0。
BasicSocket#getsockopt, BasicSocket#setsockopt
の第2引数(optname)に使用します。

@see Socket::Constants::IPPROTO_IPV6,
3542...

Socket::Constants::SOCK_DGRAM -> Integer (9117.0)

データグラム通信。 Socket.open の第二引数 type に使用します。

...データグラム通信。
Sock
et.open の第二引数 type に使用します。

@see socket(2), Socket.open...

Socket::Constants::SOCK_PACKET -> Integer (9117.0)

デバイスレベルインターフェース。Obsoleteであり使うべきではない。 Socket.open の第二引数 type に使用します。

...デバイスレベルインターフェース。Obsoleteであり使うべきではない。
Sock
et.open の第二引数 type に使用します。

@see packet(7linux), Socket.open...

Socket::Constants::SOCK_RAW -> Integer (9117.0)

RAW ソケット。 Socket.open の第二引数 type に使用します。

...RAW ソケット。
Sock
et.open の第二引数 type に使用します。

@see sys/socket.h(header), socket(2linux),
raw(7linux), Socket.open...
<< 1 2 3 ... > >>