InetSocketAddress

constructor(address: InetAddress, port: <Error class: unknown class>)

Creates a new #GInetSocketAddress for @address and @port.

Return

a new #GInetSocketAddress

Since

2.22

Parameters

address

a #GInetAddress

port

a port number


constructor(address: String, port: <Error class: unknown class>)

Creates a new #GInetSocketAddress for @address and @port.

If @address is an IPv6 address, it can also contain a scope ID (separated from the address by a %).

Return

a new #GInetSocketAddress, or null if @address cannot be parsed.

Since

2.40

Parameters

address

the string form of an IP address

port

a port number


constructor(pointer: <Error class: unknown class><<Error class: unknown class>>)