Method

GioTcpConnectionget_graceful_disconnect

Declaration

gboolean
g_tcp_connection_get_graceful_disconnect (
  GTcpConnection* connection
)

Description

Checks if graceful disconnects are used. See g_tcp_connection_set_graceful_disconnect().

Available since:2.22

Return value

Returns: gboolean
 

TRUE if graceful disconnect is used on close, FALSE otherwise.