JNIEXPORT void JNICALL
Java_org_zeromq_czmq_Zproc__1_1setBiface (JNIEnv *env, jclass c, jstring value)
{
    char *value_ = (char *) (*env)->GetStringUTFChars (env, value, NULL);
    zproc_set_biface (value_);
    (*env)->ReleaseStringUTFChars (env, value, value_);
}
示例#2
0
///
//  Set network interface name to use for broadcasts, particularly zbeacon.    
//  This lets the interface be configured for test environments where required.
//  For example, on Mac OS X, zbeacon cannot bind to 255.255.255.255 which is  
//  the default when there is no specified interface. If the environment       
//  variable ZSYS_INTERFACE is set, use that as the default interface name.    
//  Setting the interface to "*" means "use all available interfaces".         
void QmlZprocAttached::setBiface (const QString &value) {
    zproc_set_biface (value.toUtf8().data());
};
示例#3
0
文件: qzproc.cpp 项目: evoskuil/czmq
///
//  Set network interface name to use for broadcasts, particularly zbeacon.
//  This lets the interface be configured for test environments where required.
//  For example, on Mac OS X, zbeacon cannot bind to 255.255.255.255 which is
//  the default when there is no specified interface. If the environment
//  variable ZSYS_INTERFACE is set, use that as the default interface name.
//  Setting the interface to "*" means "use all available interfaces".
void QZproc::setBiface (const QString &value)
{
    zproc_set_biface (value.toUtf8().data());

}