[capi-sig] (no subject)

Hrvoje Niksic hniksic at xemacs.org
Wed Feb 24 13:05:17 CET 2010

"Goudar, Girish" <Girish.Goudar at goodrich.com> writes:

> I want to pass a structure (which contains int, float, char etc) from
> a client program written in Python to a server program written in C
> (Operating system is DEOS). But the "socket.send" command in Python
> supports only String or Readonly buffer. I want to pass a structure.
> Could you please help me on this?

Aside from the remark brought up by Stefan, I'd recommend the use of the
"struct" module.

More information about the capi-sig mailing list