Method

GioSocketis_closed

since: 2.22

Declaration

gboolean
g_socket_is_closed (
  GSocket* socket
)

Description

Checks whether a socket is closed.

Available since: 2.22

Return value

Type: gboolean

TRUE if socket is closed, FALSE otherwise.