SWIGEXPORT void JNICALL Java_drawerControllib_DrawerControlJNI_closeCommunication(JNIEnv *jenv, jclass jcls) { (void)jenv; (void)jcls; { char *err; clear_exception(); closeCommunication(); err = check_exception(); if (err!=NULL) { { SWIG_JavaException(jenv, SWIG_IOError, err); return ; }; } } }
void udpProtocolTest(){ initCommunication("192.168.0.4"); sendFrame('t',25687,56682,4687); closeCommunication(); }