Sets our main struct and passes it to the parent class.
Checks if graceful disconnects are used. See g_tcp_connection_set_graceful_disconnect().
the main Gtk struct as a void*
Get the main Gtk struct
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.
the main Gtk struct
the main Gtk struct
Get the main Gtk struct
the main Gtk struct as a void*
Looks up the #GType to be used when creating socket connections on sockets with the specified @family, @type and @protocol_id.
Looks up the #GType to be used when creating socket connections on sockets with the specified @family, @type and @protocol.
Connect @connection to the specified remote address.
Asynchronously connect @connection to the specified remote address.
Gets the result of a g_socket_connection_connect_async() call.
Try to get the local address of a socket connection.
Try to get the remote address of a socket connection.
Gets the underlying #GSocket object of the connection. This can be useful if you want to do something unusual on it not supported by the #GSocketConnection APIs.
Checks if @connection is connected. This is equivalent to calling g_socket_is_connected() on @connection's underlying #GSocket.
This is the subclass of #GSocketConnection that is created for TCP/IP sockets.