Sets our main struct and passes it to the parent class.
Wraps @base_io_stream and @socket together as a #GSocketConnection.
Gets @conn's base #GIOStream
the main Gtk struct as a void*
Get the main Gtk struct
the main Gtk struct
the main Gtk struct
Get the main Gtk struct
the main Gtk struct as a void*
Checks if graceful disconnects are used. See g_tcp_connection_set_graceful_disconnect().
This enables graceful disconnects on close. A graceful disconnect means that we signal the receiving end that the connection is terminated and wait for it to close the connection before closing the connection.
A #GTcpWrapperConnection can be used to wrap a #GIOStream that is based on a #GSocket, but which is not actually a #GSocketConnection. This is used by #GSocketClient so that it can always return a #GSocketConnection, even when the connection it has actually created is not directly a #GSocketConnection.