Socket.getKeepalive

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

class Socket
bool
getKeepalive
()

Return Value

Type: bool

true if keepalive is active, false otherwise.