Socket.getKeepalive

bool getKeepalive()

Gets the keepalive mode of the socket. For details on this, see gio.socket.Socket.setKeepalive.

Returns

true if keepalive is active, false otherwise.