Constructor
GioInetSocketAddressnew
since: 2.22
Declaration [src]
GSocketAddress*
g_inet_socket_address_new (
GInetAddress* address,
guint16 port
)
Parameters
address-
Type:
GInetAddressA
GInetAddress.The data is owned by the caller of the function. port-
Type:
guint16A port number.
Return value
Type: GSocketAddress
A new GInetSocketAddress.
| The caller of the function takes ownership of the data, and is responsible for freeing it. |