Class: Gio::InetSocketAddress
- Inherits:
-
Object
- Object
- Gio::InetSocketAddress
- Defined in:
- (unknown)
Instance Method Summary collapse
-
#address ⇒ Gio::InetAddress
Address.
- #address=(address) ⇒ Gio::InetAddress
-
#flowinfo ⇒ Integer
The ‘sin6_flowinfo` field, for IPv6 addresses.
-
#flowinfo=(flowinfo) ⇒ Integer
The ‘sin6_flowinfo` field, for IPv6 addresses.
-
#new(address, port) ⇒ Gio::SocketAddress
Creates a new GInet::SocketAddress for address and port.
-
#new_from_string(address, port) ⇒ Gio::SocketAddress
Creates a new GInet::SocketAddress for address and port.
-
#port ⇒ Integer
Port.
- #port=(port) ⇒ Integer
-
#scope_id ⇒ Integer
Scope-id.
- #scope_id=(scope_id) ⇒ Integer
Instance Method Details
#address ⇒ Gio::InetAddress
Returns address.
#address=(address) ⇒ Gio::InetAddress
#flowinfo ⇒ Integer
The ‘sin6_flowinfo` field, for IPv6 addresses.
#flowinfo=(flowinfo) ⇒ Integer
The ‘sin6_flowinfo` field, for IPv6 addresses.
#new(address, port) ⇒ Gio::SocketAddress
Creates a new GInet::SocketAddress for address and port.
#new_from_string(address, port) ⇒ Gio::SocketAddress
Creates a new GInet::SocketAddress for address and port.
If address is an IPv6 address, it can also contain a scope ID (separated from the address by a ‘%`). parsed.
#port ⇒ Integer
Returns port.
#port=(port) ⇒ Integer
#scope_id ⇒ Integer
Returns scope-id.