Paul Kozik wrote: > I am working on the networking code for a small Multiplayer RPG I'm > working on. I currently have some basic code using threads, but it > seems like asyncore would be far better suited for my needs. However, > I have trouble finding a solid example for what I need. Python.org and > other sites provide simple examples, but they appear more intended for > servers that simply send one peice of data to the client.
Here is a sample that combines asyncore/asynchat, wxPython, and optional threads: http://thread.gmane.org/gmane.comp.python.wxpython/46915/focus=47326 You can pull out the async subclasses and use them as a general Python object transfer mechanism. If you have specific asyncore/asynchat questions, email me directly and I will try to help you. - Josiah -- http://mail.python.org/mailman/listinfo/python-list