docs: Move the GSocketAddress SECTION

Move it to the struct docs.

Signed-off-by: Philip Withnall <philip@tecnocode.co.uk>

Helps: #3037
This commit is contained in:
Philip Withnall 2023-10-24 10:57:51 +01:00
parent bd753fb87c
commit 4f4ca75b4d

View File

@ -44,22 +44,13 @@
#endif
/**
* SECTION:gsocketaddress
* @short_description: Abstract base class representing endpoints
* for socket communication
* @include: gio/gio.h
*
* #GSocketAddress is the equivalent of struct sockaddr in the BSD
* sockets API. This is an abstract class; use #GInetSocketAddress
* for internet sockets, or #GUnixSocketAddress for UNIX domain sockets.
*/
/**
* GSocketAddress:
*
* A socket endpoint address, corresponding to struct sockaddr
* or one of its subtypes.
* `GSocketAddress` is the equivalent of
* [`struct sockaddr`](man:sockaddr(3type)) and its subtypes in the BSD sockets
* API. This is an abstract class; use [class@Gio.InetSocketAddress] for
* internet sockets, or [class@Gio.UnixSocketAddress] for UNIX domain sockets.
*/
enum