delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/04/18/05:13:53

Date: Tue, 18 Apr 2000 11:29:37 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: djgpp AT delorie DOT com
Subject: Re: fork off
In-Reply-To: <8dg6ai$hnv$1@news7.svr.pol.co.uk>
Message-ID: <Pine.SUN.3.91.1000418112911.28255O-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Tue, 18 Apr 2000, Josiha Hudini wrote:

> The fork() function Does it work in win/dos, and if so how do i use it?

You need to replace it with code that works around this limitation.

What code exactly, depends on the application and how it works
internally.

> I have a server that needs to be multi-client, but can only get one client
> at a time. The fork function was suggested to me, and was included in a
> program for linux but the same code don't work in windows/dos.

On DOS, you don't have good alternatives.  On Windows, try launching
the child program via the "start" program supplied with Windows.

- Raw text -


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