pygame is
pygame.org is
|
PygLibs.net
PygLibs.net - 0.94-alpha4RB[0] (roebros)Tags:DescriptionThis is an alpha release of the PygLibs.net 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. PygLibs.net 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:
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. 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) ChangesFixed 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. Links
Releases
Pygame.org account CommentsIf you wish to leave a comment with your pygame.org account, please sign in first.
|
|