// It looks like the ID listeners are not being freed!
// May be a bug both here and on the GEX side.
for(inti=0;i<40;i++){
for(inti=0;i<30;i++){
fprintf(stderr,"\n%d \"PING\"\n",i);
msg=GEX_Query0(test,0);
assert(msg.type==MSG_SUCCESS);
fprintf(stderr,"\"PING\"cmd: OK.\n");
//usleep(20000);
fprintf(stderr,"\"PING\"OK!\n");
usleep(100000);
}
#endif
#if 1
// Test a echo command that returns back what was sent to it as useful payload
constchar*s="I am returning this otherwise good typing paper to you because someone "
;//"has printed gibberish all over it and put your name at the top.";
"has printed gibberish all over it and put your name at the top. Read the communist manifesto via bulk transfer. Read the communist manifesto via bulk transfer. Technology is a constand battle between manufacturers producing bigger and "
"more idiot-proof systems and nature producing bigger and better idiots. END";