delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2011/07/12/07:45:14

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: Georg <dosusb AT googlemail DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Pipe()
Date: Tue, 12 Jul 2011 04:30:42 -0700 (PDT)
Organization: http://groups.google.com
Lines: 15
Message-ID: <639f9631-f9d6-42b8-bf70-f943afe5afa8@n28g2000vbs.googlegroups.com>
NNTP-Posting-Host: 217.91.63.120
Mime-Version: 1.0
X-Trace: posting.google.com 1310470242 23584 127.0.0.1 (12 Jul 2011 11:30:42 GMT)
X-Complaints-To: groups-abuse AT google DOT com
NNTP-Posting-Date: Tue, 12 Jul 2011 11:30:42 +0000 (UTC)
Complaints-To: groups-abuse AT google DOT com
Injection-Info: n28g2000vbs.googlegroups.com; posting-host=217.91.63.120; posting-account=v5xbdQoAAAAOGc9Ccc-kLZyobvPlN3Qr
User-Agent: G2/1.0
X-Google-Web-Client: true
X-Google-Header-Order: HUALESNKRC
X-HTTP-UserAgent: Mozilla/5.0 (Windows NT 5.1; rv:5.0) Gecko/20100101 Firefox/5.0,gzip(gfe)
Bytes: 1637
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

I am trying to port a Linux program to DOS using DJGPP. This program
uses pipe() to spawn another program in a new daemon which listens on
the tcp/ip socket for commands from the main program.(using the local
ip address of the PC)

The pipe() function of GCC/DJGPP tells the main program that the
daemon has been started OK. But when the main program tries to send a
command via the socket inferface it fails.

I guess this is caused since both programs are not running at the same
time when run with DOS.

Is there a way to get this to run with DJGPP somehow?

Georg

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019