Method

GioSocketget_keepalive

since: 2.22

Declaration

gboolean
g_socket_get_keepalive (
  GSocket* socket
)

Description

Gets the keepalive mode of the socket. For details on this, see g_socket_set_keepalive().

Available since: 2.22

Gets propertyGio.Socket:keepalive

Return value

Type: gboolean

TRUE if keepalive is active, FALSE otherwise.