Addrinfo.new(sockaddr) => addrinfoAddrinfo.new(sockaddr, family) => addrinfoAddrinfo.new(sockaddr, family, socktype) => addrinfoAddrinfo.new(sockaddr, family, socktype, protocol) => addrinfo
Class Public methods
returns a new instance of Addrinfo. The
instance contains sockaddr, family, socktype, protocol. sockaddr means
struct sockaddr which can be used for connect(2), etc. family, socktype and
protocol are int