Package org.jruby.ext.socket
Class SocketUtilsIPV6.IPv6Network
java.lang.Object
org.jruby.ext.socket.SocketUtilsIPV6.IPv6Network
- Enclosing class:
SocketUtilsIPV6
-
Method Summary
Modifier and TypeMethodDescriptionfromString
(String string) Create an IPv6 network from its String representation.
-
Method Details
-
fromString
Create an IPv6 network from its String representation. For example "1234:5678:abcd:0:0:0:0:0/64" or "2001::ff/128".- Parameters:
string
- string representation- Returns:
- IPv6 network
-
getNetmask
-