Socket connection between python and C
Williamson, Ross X. (Guest)
Ross.X.Williamson.Guest at usap.gov
Wed Feb 9 01:54:25 CET 2011
I'm trying to implement a server/client system where the server is written in python and the client has to be written in c/c++. I can happily send simple text through the socket. Ideally I would like make say a struct (using python struct library) - and then read that in using C. Is there a better way to package data on the server in python to send down a socket to a C client? XML? Pickle?
More information about the Python-list