mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-09 19:06:15 +01:00
docs: Clarify GSocketClient reuse policy
This commit is contained in:
parent
a60f475b36
commit
053b011ccc
@ -56,8 +56,8 @@
|
||||
* @include: gio/gio.h
|
||||
* @see_also: #GSocketConnection, #GSocketListener
|
||||
*
|
||||
* #GSocketClient is a high-level utility class for connecting to a
|
||||
* network host using a connection oriented socket type.
|
||||
* #GSocketClient is a lightweight high-level utility class for connecting to
|
||||
* a network host using a connection oriented socket type.
|
||||
*
|
||||
* You create a #GSocketClient object, set any options you want, and then
|
||||
* call a sync or async connect operation, which returns a #GSocketConnection
|
||||
@ -67,6 +67,9 @@
|
||||
* the underlying socket that is in use. For instance, for a TCP/IP connection
|
||||
* it will be a #GTcpConnection.
|
||||
*
|
||||
* As #GSocketClient is a lightweight object, you don't need to cache it. You
|
||||
* can just create a new one any time you need one.
|
||||
*
|
||||
* Since: 2.22
|
||||
*/
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user