dementrio wrote: > Thanks for the hint! > > However now I have another problem - endianness (the client runs on > powerpc, the server on x86). I found that simply reversing the stuff I > recv() works, but is there any cleaner way for taking care of this? >
http://docs.python.org/lib/module-struct.html and search for "Alternatively, the first character of the format string can be used to indicate the byte order" Daniel -- http://mail.python.org/mailman/listinfo/python-list