Sets our main struct and passes it to the parent class
Checks if graceful disconnects are used. See g_tcp_connection_set_graceful_disconnect(). Since 2.22
the main Gtk struct as a void*
This enabled graceful disconnects on close. A graceful disconnect means that we signal the recieving end that the connection is terminated and wait for it to close the connection before closing the connection. A graceful disconnect means that we can be sure that we successfully sent all the outstanding data to the other end, or get an error reported. However, it also means we have to wait for all the data to reach the other side and for it to acknowledge this by closing the socket, which may take a while. For this reason it is disabled by default. Since 2.22
the main Gtk struct
the main Gtk struct
the main Gtk struct as a void*
Try to get the local address of a socket connection. Since 2.22
Try to get the remote address of a socket connection. Since 2.22
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. Since 2.22
Creates a GSocketConnection subclass of the right type for socket. Since 2.22
Looks up the GType to be used when creating socket connections on sockets with the specified family,type and protocol_id. If no type is registered, the GSocketConnection base type is returned. Since 2.22
Looks up the GType to be used when creating socket connections on sockets with the specified family,type and protocol. If no type is registered, the GSocketConnection base type is returned. Since 2.22
Description This is the subclass of GSocketConnection that is created for TCP/IP sockets.