socktype

addrinfo.socktype => integer
Instance Public methods

returns the socket type as an integer.

Addrinfo.tcp("localhost", 80).socktype == Socket::SOCK_STREAM #=> true
doc_ruby_on_rails
2015-03-30 08:30:44
Comments
Leave a Comment

Please login to continue.