るりまサーチ (Ruby 2.4.0)

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

別のキーワード

  1. smtp start
  2. net/smtp start
  3. pop start
  4. http start
  5. pop3 start

種類

クラス

モジュール

キーワード

検索結果

Socket::Constants::IFF_XMIT_DST_RELEASE (55.0)

dev_hard_start_xmit() is allowed to release skb->dst

dev_hard_start_xmit() is allowed to release skb->dst

Socket::Constants::MSG_FLUSH -> Integer (55.0)

@todo Start of a hold sequence. Dumps to so_temp

@todo
Start of a hold sequence. Dumps to so_temp

Socket::IFF_XMIT_DST_RELEASE (55.0)

dev_hard_start_xmit() is allowed to release skb->dst

dev_hard_start_xmit() is allowed to release skb->dst

Socket::MSG_FLUSH -> Integer (55.0)

@todo Start of a hold sequence. Dumps to so_temp

@todo
Start of a hold sequence. Dumps to so_temp

TCPServer (25.0)

TCP/IP ストリーム型接続のサーバ側のソケットのクラスです。

...ットを利用したサーバのプログラミングができます。

例えば echo サーバは以下のようになります。

require "socket"

gs = TCPServer.open(0)
socks = [gs]
addr = gs.addr
addr.shift
printf("server is on %s\n", addr.join(":"))

while true
nsock...
...e
str = s.gets
s.write(str)
end
end
end
end

Thread を使えばもっと短くなります。

require "socket"

gs = TCPServer.open(0)
addr = gs.addr
addr.shift
printf("server is on %s\n", addr.join(":"))

while true
Thread.start(gs.accep...

絞り込み条件を変える