Ejemplo n.º 1
0
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_;
}
Ejemplo n.º 2
0
///
//  Get socket option `tcp_keepalive`.
int QZsock::tcpKeepalive ()
{
    int rv = zsock_tcp_keepalive (self);
    return rv;
}
Ejemplo n.º 3
0
///
//  Get socket option `tcp_keepalive`.
int QmlZsock::tcpKeepalive () {
    return zsock_tcp_keepalive (self);
};