[SDL] SDL_net and socketpair

Neil Griffiths n.griffiths at virgin.net
Fri Sep 6 02:09:01 PDT 2002

Hello Bob,

BP> I can help on the UNIX/Linux side, but its been 6 years since I wrote
BP> any native Windows code. All the code I've written on Windows in that 
BP> time was in Java. And, Java ain't Windows. :-)

Well, I'll be looking into how to fork() on Win32 at the weekend then. I was
hoping you'd say you'd do that. ;)

BP> I posted code on USENET in 1988 called ile.c that forks and execs
BP> another program and communicates with it over pty/tty pairs. That code 
BP> should give us a good idea how to do a popen with with bidirectional 
BP> communication. I can post the code, send it to you, or you can find a 
BP> shell archive at 
BP> http://open-systems.ufl.edu/mirrors/ftp.isc.org/usenet/comp.sources.unix/volume25/ile

I haven't got time right now to take a look, but I agree that it
sounds like a good idea of how to do it. I'll take a look later on and
I'll write back!


More information about the SDL mailing list