
Feb. 24, 2010
6:40 a.m.
Goudar, Girish, 24.02.2010 11:13:
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?
This has nothing to do with the Python C-API (so this is the wrong list to ask this on). What you have to do is figure out the structure of the data stream that the server requires, and then send your data in that structure.
Stefan
5544
Age (days ago)
5544
Last active (days ago)
0 comments
1 participants
participants (1)
-
Stefan Behnel