Re: Socket connection between python and C

2011-02-09 Thread Stefan Behnel
Williamson, Ross X. wrote: 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++. Is this a strict requirement? Could you give us a hint why the client needs to be plain C/C++? Stefan -- http://mail.python.org/mailman/

Re: Socket connection between python and C

2011-02-09 Thread Irmen de Jong
On 09-02-11 01:54, Williamson, Ross X. (Guest) wrote: 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 pyth

Re: Socket connection between python and C

2011-02-08 Thread Dan Stromberg
On Tue, Feb 8, 2011 at 5:41 PM, Roy Smith wrote: > In article , >  "Williamson, Ross X. (Guest)" >  wrote: > >> 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 thr

Re: Socket connection between python and C

2011-02-08 Thread Roy Smith
In article , "Williamson, Ross X. (Guest)" wrote: > 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 (u

Socket connection between python and C

2011-02-08 Thread Williamson, Ross X. (Guest)
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