Get events from server
#include <s3d.h>
int s3d_net_check(void);
This functions is for programs which do not employ a mainloop, hence they need to check for new events on their own. Programs like these must make sure to call this function from time to time to convince the server that they did not freeze or bail out.
Simon Wunderlich
Author of s3d