Constructor
GioInetSocketAddressnew
since: 2.22
Declaration [src]
GSocketAddress*
g_inet_socket_address_new (
GInetAddress* address,
guint16 port
)
Parameters
address
-
Type:
GInetAddress
A
GInetAddress
.The data is owned by the caller of the function. port
-
Type:
guint16
A 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. |