Socket.getKeepalive

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

class Socket
bool
getKeepalive
()

Return Value

Type: bool

TRUE if keepalive is active, FALSE otherwise.

Meta

Since

2.22