Simulate socket with files or stdin/stdout
claird at lairds.com
Sat Apr 3 13:18:10 CEST 2004
In article <donn-94CD08.17112131032004 at nntp4.u.washington.edu>,
Donn Cave <donn at u.washington.edu> wrote:
>In article <c4fenn$o9h$1 at newshispeed.ch>,
> "Jean-Pierre Bergamin" <james at ractive.ch> wrote:
>> We are forced to use a quite old simulation software that's based on
>> Modula-2. The idea is now to let this software "talk" to the outside world
>> over a TCP/IP network.
>> Since the program has no possibility to use sockets or other mechanisms to
>> send data over the network we have the idea to let python do the network
>> part and let the simu software communicate with the python script in some
>> other way:
>> One idea is to use stdout and stdin (but I'm not even sure if stdout/in are
>> available in the simulation software).
[Donn shows how easy
POSIX networking is]
I wonder how close the effect will be to recreation of inetd
<URL: http://wombat.doc.ic.ac.uk/foldoc/foldoc.cgi?inetd >.
Cameron Laird <claird at phaseit.net>
More information about the Python-list