JNIEXPORT jint JNICALL
Java_org_zeromq_czmq_Zsock__1_1tcpKeepalive (JNIEnv *env, jclass c, jlong self)
{
    jint tcp_keepalive_ = (jint) zsock_tcp_keepalive ((zsock_t *) (intptr_t) self);
    return tcp_keepalive_;
}
Beispiel #2
0
///
//  Get socket option `tcp_keepalive`.
int QZsock::tcpKeepalive ()
{
    int rv = zsock_tcp_keepalive (self);
    return rv;
}
Beispiel #3
0
///
//  Get socket option `tcp_keepalive`.
int QmlZsock::tcpKeepalive () {
    return zsock_tcp_keepalive (self);
};