delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/02/01/23:56:26

From: Richard Dawe <rich AT phekda DOT freeserve DOT co DOT uk>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: how did Quake do it???
Date: Thu, 01 Feb 2001 19:34:38 +0000
Organization: Customer of Energis Squared
Lines: 37
Message-ID: <3A79BA4E.EDE2D55@phekda.freeserve.co.uk>
References: <3A7876BC DOT 2060603 AT operamail DOT com> <95bl59$et5$1 AT nnrp1 DOT deja DOT com>
NNTP-Posting-Host: modem-77.anarion.dialup.pol.co.uk
Mime-Version: 1.0
X-Trace: newsg4.svr.pol.co.uk 981057462 181 62.136.106.205 (1 Feb 2001 19:57:42 GMT)
NNTP-Posting-Date: 1 Feb 2001 19:57:42 GMT
X-Complaints-To: abuse AT theplanet DOT net
X-Mailer: Mozilla 4.51 [en] (X11; I; Linux 2.2.17 i586)
X-Accept-Language: de,fr
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hello.

Tom St Denis wrote:
> 
> In article <3A7876BC DOT 2060603 AT operamail DOT com>,
>   Sahab Yazdani <sahaby AT operamail DOT com> wrote:
> > okay, I'm wondering, how did the original Quake manage to make
> > networking under DOS work???  i know it opened up some kind of portal
> > into Windows and then used that as its transport, but HOW???? anybody
> > know, care to tell the rest of us????
> 
> No they didn't.
> 
> Only winquake supports TCP/IP games.

Bzzzzzzzzz.....wrong! Quake does not actually use TCP - it uses UDP over
IP. Quake for DOS can do UDP over IP under Windows.

To answer Sahab Yazdani's question: I had a look at the Quake sources a
while back, to see if I could use the same methods as Quake did, to get
access to Winsock. It uses a combination of a virtual device driver (VxD)
and a DLL to provide Winsock access. You need to run the launcher program
to load the DLL. Quake for DOS then loads the VxD to communicate with the
DLL, which then uses Winsock. The VxD had a good interface.

It's a shame it didn't do TCP as well, otherwise I would have written a
libsocket interface for it. Of course, there are legal issues to, which
means you probably can't use it unless you own Quake for DOS, to obtain
the VxD.

Bye,

-- 
Richard Dawe <richdawe AT bigfoot DOT com> http://www.bigfoot.com/~richdawe/ 

"The soul is the mirror of an indestructible universe."
--- Gottfried W. Leibniz

- Raw text -


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