2481件ヒット
[1-100件を表示]
(0.126秒)
種類
ライブラリ
- ビルトイン (112)
- benchmark (55)
-
cgi
/ core (11) - drb (22)
-
fiddle
/ import (132) - json (11)
-
minitest
/ unit (3) -
net
/ ftp (11) -
net
/ http (253) -
net
/ imap (77) -
net
/ pop (132) -
net
/ smtp (83) - openssl (165)
- rake (22)
- resolv (44)
- resolv-replace (33)
-
rubygems
/ exceptions (11) -
rubygems
/ server (22) -
rubygems
/ user _ interaction (176) -
shell
/ system-command (6) - socket (484)
- uri (275)
-
webrick
/ httpauth / basicauth (11) -
webrick
/ httpproxy (22) -
webrick
/ httprequest (11) -
webrick
/ httpserver (33) -
webrick
/ httpservlet / abstract (77) -
webrick
/ httpstatus (44) -
webrick
/ server (11) -
webrick
/ utils (11)
クラス
- Addrinfo (132)
-
Benchmark
:: Job (11) -
Benchmark
:: Report (44) -
DRb
:: DRbServer (11) -
Gem
:: Server (22) -
Gem
:: StreamUI (11) -
Gem
:: StreamUI :: SilentProgressReporter (44) -
Gem
:: StreamUI :: SimpleProgressReporter (44) -
Gem
:: StreamUI :: VerboseProgressReporter (44) - IPSocket (22)
-
MiniTest
:: Unit (2) -
MiniTest
:: Unit :: TestCase (1) -
Net
:: FTP (11) -
Net
:: HTTP (220) -
Net
:: HTTPResponse (11) -
Net
:: IMAP (77) -
Net
:: POP3 (132) -
Net
:: SMTP (83) -
OpenSSL
:: PKey :: DH (33) -
OpenSSL
:: PKey :: DSA (66) -
OpenSSL
:: PKey :: RSA (66) -
RDoc
:: Options (22) -
Rake
:: FileList (11) - Refinement (3)
-
Resolv
:: DNS (22) -
Resolv
:: DNS :: Resource :: IN :: SRV (22) -
Shell
:: SystemCommand (6) - Socket (176)
- Thread (32)
- UDPSocket (77)
-
URI
:: FTP (44) -
URI
:: Generic (121) -
URI
:: HTTP (33) -
URI
:: LDAP (33) -
URI
:: LDAPS (11) -
URI
:: MailTo (11) -
WEBrick
:: GenericServer (11) -
WEBrick
:: HTTPProxyServer (11) -
WEBrick
:: HTTPRequest (11) -
WEBrick
:: HTTPServer (22) -
WEBrick
:: HTTPServlet :: AbstractServlet (66)
モジュール
-
CGI
:: QueryExtension (11) - DRb (11)
-
Fiddle
:: Importer (121) -
GC
:: Profiler (11) - Kernel (33)
- Marshal (44)
-
Socket
:: Constants (110) - URI (22)
-
WEBrick
:: HTTPStatus (22) -
WEBrick
:: Utils (11)
キーワード
-
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (11) - APOP (11)
- AbstractServlet (11)
- BasicAuth (11)
-
DEFAULT
_ PORT (22) - DOSISH 対応 (11)
-
FTP
_ PORT (11) - HTTPProxyServer (11)
- HTTPServer (11)
- HTTPUnsupportedMediaType (11)
- HTTPVersionNotSupported (22)
-
IFF
_ BRIDGE _ PORT (22) -
IFF
_ MACVLAN _ PORT (22) -
IFF
_ OVS _ DATAPATH (22) -
IFF
_ PORTSEL (22) -
IFF
_ TEAM _ PORT (22) -
IPPORT
_ RESERVED (22) -
IPPORT
_ USERRESERVED (22) -
IP
_ PORTRANGE (22) - Importer (11)
- MissingUnicodeSupport (11)
-
NEWS for Ruby 2
. 0 . 0 (11) - OperationNotSupportedError (11)
- Port (11)
-
RC
_ HTTP _ VERSION _ NOT _ SUPPORTED (11) -
RC
_ UNSUPPORTED _ MEDIA _ TYPE (11) -
SO
_ REUSEPORT (22) -
SO
_ SECURITY _ ENCRYPTION _ TRANSPORT (22) -
SUPPORTS
_ INFO _ SIGNAL (1) - SilentProgressReporter (11)
- SimpleProgressReporter (11)
- UnsupportedMediaType (11)
- VerboseProgressReporter (11)
- [] (11)
- addr (11)
-
auth
_ only (11) - bind (33)
- build (88)
- build2 (22)
- cgi (11)
- component (11)
- connect (11)
-
connect
_ from (22) -
connect
_ to (22) - count (33)
-
coverage
_ report (11) -
coverage
_ report= (11) -
create
_ listeners (11) -
create
_ value (11) -
default
_ imap _ port (11) -
default
_ imaps _ port (11) -
default
_ pop3 _ port (11) -
default
_ pop3s _ port (11) -
default
_ port (66) -
default
_ ssl _ port (22) -
default
_ submission _ port (11) -
default
_ tls _ port (22) -
delete
_ all (22) - dlload (11)
-
do
_ DELETE (11) -
do
_ GET (11) -
do
_ HEAD (11) -
do
_ OPTIONS (11) -
do
_ POST (11) -
do
_ PUT (11) - done (33)
- dump (22)
- export (55)
- extern (11)
-
family
_ addrinfo (22) -
fiddle
/ import (11) - foreach (11)
- get (22)
-
get
_ print (22) -
get
_ response (22) - getservbyport (11)
-
http
_ default _ port (11) -
https
_ default _ port (11) - import (22)
-
import
_ methods (3) -
import
_ symbol (11) - ip (11)
-
ip
_ address (11) -
ip
_ port (11) -
ip
_ unpack (11) - item (11)
- list (11)
- listen (11)
- load (11)
-
local
_ host (11) -
local
_ port (11) - mount (11)
- new (198)
- new2 (11)
-
pack
_ sockaddr _ in (11) - parse (11)
- port= (11)
- printf (22)
-
progress
_ reporter (11) -
proxy
_ address (11) -
proxy
_ port (22) - proxyaddr (11)
- proxyport (11)
-
rb
_ export _ method (11) -
read
_ body (11) - recvfrom (11)
- report (34)
- report= (1)
-
report
_ on _ exception (16) -
report
_ on _ exception= (16) - restore (11)
-
ruby 1
. 8 . 2 feature (11) - run (11)
- send (44)
-
server
_ port (11) - sizeof (11)
-
sockaddr
_ in (11) - split (11)
- start (72)
-
start
_ import (6) -
start
_ service (11) - struct (11)
- tcp (33)
-
to
_ pem (55) -
to
_ s (55) - typealias (11)
- udp (11)
- union (11)
-
unpack
_ sockaddr _ in (11) - updated (33)
- value (11)
-
virtual
_ host (11) - webrick (11)
-
webrick
/ cgi (11)
検索結果
先頭5件
-
IPSocket
# addr -> Array (23016.0) -
ソケットの接続情報を表す配列を返します。配列の各要素は第1要 素が文字列 "AF_INET", "AF_INET6" など、第2要素が port 番号、第3要素がホストを表 す文字列、第4要素がホストの IP アドレスを表す文字列 (octet decimal や hexadecimal) です。
...列の各要素は第1要
素が文字列 "AF_INET", "AF_INET6" など、第2要素が port 番号、第3要素がホストを表
す文字列、第4要素がホストの IP アドレスを表す文字列 (octet
decimal や hexadecimal) です。
@raise Errno::EXXX getsockname(2) が 0 未満の値......を返した場合に発生します。
例:
require 'socket'
serv = TCPServer.new("localhost", 0)
p serv.addr #=> ["AF_INET", 46102, "localhost.localdomain", "127.0.0.1"]
c = TCPSocket.new(*serv.addr.values_at(3,1))
s = serv.accept... -
IPSocket
# recvfrom(maxlen , flags = 0) -> Array (23006.0) -
recv と同様にソケットからデータを受け取りますが、 戻り値は文字列と相手ソケットのアドレス (形式は IPSocket#addr 参照) のペアです。引数につ いては BasicSocket#recv と同様です。
...アドレス (形式は
IPSocket#addr 参照) のペアです。引数につ
いては BasicSocket#recv と同様です。
@param maxlen 受け取る文字列の最大の長さを指定します。
@param flags recv(2) を参照してください。
@raise IOError
@raise Errno::EXXX recvfrom(2)......uire 'socket'
s1 = UDPSocket.new
s1.bind("0.0.0.0", 0) # 適当に空いている port を割り当てる
s2 = UDPSocket.new
s2.send("foo", 0, s1.getsockname)
mesg, inet_addr = s1.recvfrom(100)
p mesg #=> "foo"
p inet_addr #=> ["AF_INET", 32876, "localhost.localdomain... -
URI
:: Generic # port -> String | nil (21217.0) -
自身の port を文字列で返します。設定されていない場合は nil を返します。
...自身の port を文字列で返します。設定されていない場合は nil を返します。... -
Resolv
:: DNS :: Resource :: IN :: SRV # port -> Integer (21201.0) -
対象のサービスの対象のホストにおけるポート番号を返します。
対象のサービスの対象のホストにおけるポート番号を返します。 -
WEBrick
:: HTTPRequest # port -> String (21201.0) -
サーバのポートを文字列で返します。
サーバのポートを文字列で返します。 -
Net
:: HTTP # port -> Integer (18201.0) -
接続するポート番号を返します。
接続するポート番号を返します。 -
Net
:: POP3 # port -> Integer (18201.0) -
接続するポート番号です。
接続するポート番号です。 -
Net
:: SMTP # port -> Integer (18201.0) -
接続先のポート番号を返します。
接続先のポート番号を返します。 -
Net
:: IMAP . default _ imaps _ port -> Integer (15209.0) -
デフォルトの IMAPS のポート番号(993)を返します。
...デフォルトの IMAPS のポート番号(993)を返します。
@see Net::IMAP.default_port... -
Net
:: IMAP . default _ imap _ port -> Integer (15208.0) -
デフォルトの IMAP のポート番号(143)を返します。
...デフォルトの IMAP のポート番号(143)を返します。
@see Net::IMAP.default_tls_port...