Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #55833

Socket connection between python and C

Subject Socket connection between python and C
Date 2011-02-09 13:54 +1300
From "Williamson, Ross X. (Guest)" <Ross.X.Williamson.Guest@usap.gov>
Newsgroups comp.lang.python
Message-ID <mailman.23.1297213437.1633.python-list@python.org> (permalink)

Show all headers | View raw


Dear All,

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?

Cheers,

Ross

Back to comp.lang.python | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Socket connection between python and C "Williamson, Ross X. (Guest)" <Ross.X.Williamson.Guest@usap.gov> - 2011-02-09 13:54 +1300
  Re: Socket connection between python and C Dan Stromberg <drsalists@gmail.com> - 2011-02-08 18:15 -0800
  Re: Socket connection between python and C Roy Smith <roy@panix.com> - 2011-02-08 20:41 -0500

csiph-web