Python <-> C via sockets

Eric Brunel eric.brunel at pragmadev.N0SP4M.com
Wed Sep 24 05:47:54 EDT 2003


Nick Keighley wrote:
> I'm probably missing something rather obvious, but is there a known 
> problem with getting a Python based socket program to communicate with
> a C based socket program? A simple echo server written in Python
> (the example from Python in a Nutshell actually) will happily talk
> to a Python based client. If a C based client is substitued the connection
> is refused (or so the C client reports). The C client will talk to
> a C server.

Communications between C and Python via sockets definetly work: we do that every 
day (no kidding ;-)

Can you post an example of your code?
-- 
- Eric Brunel <eric dot brunel at pragmadev dot com> -
PragmaDev : Real Time Software Development Tools - http://www.pragmadev.com





More information about the Python-list mailing list