[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
The Network class as used in Kamikaze and Escape/SDL is sitting on top of both the Python Socket module and the ggzmod wrapper.
@verbatim # Build network object net = Network()
# query events ret = net.autonetwork() if (ret & 1): serverevent() if (ret & 2): gameevent()
# send/receive data opcode = net.getchar() net.sendbyte(999)