pygame is
Simple DirectMedia Layer is
Site Swing - 0.94-alpha4

RB[0] (roebros)



This is an alpha release of the networking library.
It was originally meant to be part of that library, but it will not have a new release for some time, so this project has been forked for the time being. provides several solutions for fast, threaded, pure-Python servers and clients, primarily targeted at game networking.

There are several different kinds of servers, to fit different needs:
    LightServer/LightClient - provide a very basic, one way connection, where the client requests something from the server, and the server responds.

    Server/Client - a more complex connection, using two sockets, allowing the server to make requests from the client.

    Secured versions of the above, that use an authentication protocol to encrypt/decrypt messages.

    And, finally a RPC server/client, and a secure version of it.
The servers and clients are set up to provide a rapid startup, while still having the internal complexity to grow to moderate sized applications.

Simply download the archive and unzip, the module itself is /net, which can be copied into your program directory itself, or into site-packages.
The docs and tests are in the download, simply go into the /test directory and run any of the tests (they use a bit of fiddling with sys.path to enable them to be run from this directory, and not above the actual net module).

The tests double as a sort of tutorial for each part of the library, though they should have more documentation.

Also, this has not been fully tested as yet, as our server has been down I have only been able to test this on my local machine, and not over a network. So if anyone would like to test this it would be greatly appreciated.
Otherwise, we should have our servers back soon and we can test it ourselves :) Licensed under the LGPL (readme in next release, sorry 'bout that)


Fixed a bug in the code that causes some requests to be lost for unexpected reason's. RPC calls still get lost sometimes though, so it is not recommended you use the remoteObject module at this point. This should be the last update for a while, as I will be rewriting the lib once again here soon, to make it faster, cleaner and more efficient, and to fix the bug in the rpc.


Home Page:

Releases - 0.94-alpha4 - Aug 31, 2008 - 0.93-alpha3 - Aug 18, 2008 - 0.91-alpha2 - Aug 1, 2008 - 0.9alpha - Aug 1, 2008 account Comments

If you wish to leave a comment with your account, please sign in first.

September 3, 2008 1:17am - RB[0] - nickname: (roebros)
Considering it is just a library, with no visual qualities, all you would have is the command prompt - which I don't think is worth wasting's bandwidth on.
September 1, 2008 3:16pm - Anonymous - nickname: (pywiz32)
i would make an example and post it as a screenshot.
August 20, 2008 11:44am - RB[0] - nickname: (roebros)
Fixed - didn't know that was what you were getting at :)
August 20, 2008 3:34am - Luca Fabbri - nickname: (keul)
eheheh... so I suggest tu use ".net" in lowercase version!
August 19, 2008 11:25pm - RB[0] - nickname: (roebros)
I am linux too, the name is merely there because it is the pyglibs net lib, which used to be accessed via:<BR>
Was going to go with pygnet or other, but this seemed the only option, also thought it would be fun to poke fun at M$ naming convention LOL :D
August 19, 2008 5:54pm - Luca Fabbri - nickname: (keul)
Just for know: the name xxx.NET is chosen to chighlight a win32-only-compatibility with some .NET libraries?

The idea behind this project is interesting, but I'm a linux user... :-)

our projects welcomes all python game, art, music, sound, video and multimedia projects. If they use pygame or not.
recent releases
Feb 21, 2017

Jan 31, 2017

Jan 24, 2017

Jan 18, 2017

Jan 7, 2017

Dec 30, 2016

Dec 8, 2016

Nov 28, 2016

Nov 27, 2016

... more!
for pygame related questions, comments, and suggestions, please see help (lists, irc)