Method

GioNetworkAddressget_port

Declaration

guint16
g_network_address_get_port (
  GNetworkAddress* addr
)

Description

Gets addrs port number.

Available since:2.22

Return value

Type: guint16

addrs port (which may be 0)