/// // Configure the automatic use of pre-allocated FDs when creating new sockets. // If 0 (default), nothing will happen. Else, when a new socket is bound, the // system API will be used to check if an existing pre-allocated FD with a // matching port (if TCP) or path (if IPC) exists, and if it does it will be // set via the ZMQ_USE_FD socket option so that the library will use it // instead of creating a new socket. void QmlZsysAttached::setAutoUseFd (int autoUseFd) { zsys_set_auto_use_fd (autoUseFd); };
JNIEXPORT void JNICALL Java_org_zeromq_czmq_Zsys__1_1setAutoUseFd (JNIEnv *env, jclass c, jint auto_use_fd) { zsys_set_auto_use_fd ((int) auto_use_fd); }
/// // Configure the automatic use of pre-allocated FDs when creating new sockets. // If 0 (default), nothing will happen. Else, when a new socket is bound, the // system API will be used to check if an existing pre-allocated FD with a // matching port (if TCP) or path (if IPC) exists, and if it does it will be // set via the ZMQ_USE_FD socket option so that the library will use it // instead of creating a new socket. void QZsys::setAutoUseFd (int autoUseFd) { zsys_set_auto_use_fd (autoUseFd); }