mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-02 17:26:17 +01:00
docs: Move the GNetworkAddress SECTION
Move it to the struct docs. Signed-off-by: Philip Withnall <philip@tecnocode.co.uk> Helps: #3037
This commit is contained in:
parent
444d9be09c
commit
9180d9234c
@ -46,11 +46,9 @@
|
|||||||
#define HAPPY_EYEBALLS_RESOLUTION_DELAY_MS 50
|
#define HAPPY_EYEBALLS_RESOLUTION_DELAY_MS 50
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* SECTION:gnetworkaddress
|
* GNetworkAddress:
|
||||||
* @short_description: A GSocketConnectable for resolving hostnames
|
|
||||||
* @include: gio/gio.h
|
|
||||||
*
|
*
|
||||||
* #GNetworkAddress provides an easy way to resolve a hostname and
|
* `GNetworkAddress` provides an easy way to resolve a hostname and
|
||||||
* then attempt to connect to that host, handling the possibility of
|
* then attempt to connect to that host, handling the possibility of
|
||||||
* multiple IP addresses and multiple address families.
|
* multiple IP addresses and multiple address families.
|
||||||
*
|
*
|
||||||
@ -58,17 +56,10 @@
|
|||||||
* as this object is kept alive which may have unexpected results if
|
* as this object is kept alive which may have unexpected results if
|
||||||
* alive for too long.
|
* alive for too long.
|
||||||
*
|
*
|
||||||
* See #GSocketConnectable for an example of using the connectable
|
* See [iface@Gio.SocketConnectable] for an example of using the connectable
|
||||||
* interface.
|
* interface.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
|
||||||
* GNetworkAddress:
|
|
||||||
*
|
|
||||||
* A #GSocketConnectable for resolving a hostname and connecting to
|
|
||||||
* that host.
|
|
||||||
*/
|
|
||||||
|
|
||||||
struct _GNetworkAddressPrivate {
|
struct _GNetworkAddressPrivate {
|
||||||
gchar *hostname;
|
gchar *hostname;
|
||||||
guint16 port;
|
guint16 port;
|
||||||
|
Loading…
Reference in New Issue
Block a user