- printf ("no = %d event = %d\n", i-1,
- ZOOM_connection_last_event(z[i-1]));
+ int peek = ZOOM_connection_peek_event(z[i-1]);
+ int event = ZOOM_connection_last_event(z[i-1]);
+ printf ("no = %d peek = %d event = %d %s\n", i-1,
+ peek,
+ event,
+ ZOOM_get_event_str(event));