method
set

set(addr, *family)
protected
Set +@addr+, the internal stored ip address, to given addr. The parameter addr is validated using the first family member, which is +Socket::AF_INET+ or +Socket::AF_INET6+.
set(addr, *family)
protected
Set +@addr+, the internal stored ip address, to given addr. The parameter addr is validated using the first family member, which is +Socket::AF_INET+ or +Socket::AF_INET6+.