www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/09/02/05:29:14

Xref: news2.mv.net comp.os.msdos.djgpp:8169
From: "Vince C." <cheong AT loop DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Telnet client with DJGPP?
Date: 2 Sep 1996 05:26:04 GMT
Organization: morbid reality
Lines: 36
Distribution: inet
Message-ID: <01bb988f$91f63e40$70a9b3cc@486dx266>
References: <321B2FC1 DOT 16C9 AT gm DOT gamemaster DOT qc DOT ca> <3224607F DOT 41C67EA6 AT eng DOT umd DOT edu> <504add$7be AT news DOT stealth DOT net>
NNTP-Posting-Host: pma112.loop.com
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp


Mohan Khurana <mohan AT stealth DOT net> wrote in article
<504add$7be AT news DOT stealth DOT net>...
> John Sabean <docmani AT eng DOT umd DOT edu> wrote:
> 
> >As for using the Win95 TCP stack, thats tricky. The only software
> >I've seen that uses DJGPP to do that is Quake. So, it is in fact,
> >possible to do this, however, I've looked long and hard for the
> >information on how to do this and have come up with nothing.
> 
> I'd also very much like to see the Windows95 TCP/IP stack used in a
> DJGPP program.  If Quake does use the Windows95 TCP/IP stack and it
> truely was compiled with DJGPP, then I am sure that someone will
> eventually figure out a way to access it, atleast I hope so.
> 
> 
> 
hmm... maybe a win32 program could be the interface between win95
tcp/ip and djgpp program. i think it could be done in the following
sequence:
	1. loading winsock.dll
	2. init winsock
	3. code a interface function for the djgpp program to call.
	4. lock the function, so i wont get swap out/relocated ( not sure on
this )
	5. lanuch the djgpp program with the win32 program's cs register and
the
	interface function, and go into a loop until the djgpp program ends
	6. djgpp program does its thing. call the interface function with a
far call
	7. win32 goes out of loop, and cleans up
i couldnt test this, since i dont have a win32 compiler to work, and
i couldnt get rsxntdj to load winsock. maybe someone with a win32
compiler could test this.

- Raw text -


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