Differences between revisions 1 and 2
Revision 1 as of 2006-04-24 03:50:20
Size: 533
Editor: bluepill
Comment:
Revision 2 as of 2006-04-24 04:02:52
Size: 546
Editor: bluepill
Comment:
Deletions are marked like this. Additions are marked like this.
Line 16: Line 16:
 * poll()

Simple Networking For Pygame

Write a simple network library which integrates with the pygame event queue.

Basic requirements:

  • Seamless reconnection
  • Support TCP and UDP
  • use select based non blocking IO
  • network library is iterated manually (so we use our own event loops)

Potential API:

  • connect(url, onConnection, onLostConnection)
  • send(conn, data)
  • recv(conn, num_bytes)
  • listen(url, onConnection, onLostConnection)
  • poll()

Things not to worry about:

  • Object serialization

SummerOfCode/SimpleNetworkingForPygame (last edited 2008-11-15 14:00:50 by localhost)

Unable to edit the page? See the FrontPage for instructions.