X-Authentication-Warning: delorie.com: mail set sender to djgpp-workers-bounces using -f Message-ID: <20040708153355.91431.qmail@web90105.mail.scd.yahoo.com> Date: Thu, 8 Jul 2004 08:33:55 -0700 (PDT) From: SET SET Subject: Re: RFC: gdb, Emacs, RHIDE, etc. To: djgpp-workers AT delorie DOT com In-Reply-To: <40EB026A.7090605@phekda.gotadsl.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Reply-To: djgpp-workers AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk --- Richard Dawe wrote: > Hello. > > SET SET wrote: > [snip] > > IPC what? > > > > Inter-Process Communication is quite simple on > POSIX > > systems but for djgpp ... Well, you can use a > > networking protocol, but again isn't that simple. > > For TCP/IP you have: > > > > a) libsocket, it looks like it doesn't work very > well > > with VSOCK 2. I tried it on Windows 98 SE and it > > failed. > > There are two ways of making it work: > > * Patch WSOCK2.VXD, to work around its broken > interface to DOS programs. > That has to be done on every system. That clearly > won't work. > > * Write a VxD to talk to WSOCK2.VXD. The new VxD > would have an interface > usable from DOS. This has been done and it's called > WSOCKXS. See the > dossock home page for more details: > . Thanks I'll try it. > > > b) Watt-32, it needs a special NDIS driver for > > Windows. > > > > Another option could be using mslot library. It > seems > > to work (at least for Windows). It uses the "Mail > > Slot" mechanism. One problem I found in this > library > > is that it implements the "read" FSEXT in a > > "non-blocking" way and doesn't honor the > O_NONBLOCKING > > flag. The changes to fix it are really simple. > > According to mslot docs they are available for > plain > > DOS. > [snip] > > You need MS LAN Manager to use mailslots under DOS. > I don't know where > you can get that these days. > > Another problem with mailslots is that they are not > reliable. If you > send several hundred messages, some of them will get > dropped. I can't > remember if I made the libmslot work around that or > not. Thanks for the advice. SET __________________________________ Do you Yahoo!? New and Improved Yahoo! Mail - 100MB free storage! http://promotions.yahoo.com/new_mail