www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/12/09/16:46:13

Date: Sat, 9 Dec 2000 14:45:53 -0700
From: Bill Currie <bill AT taniwha DOT org>
To: djgpp AT delorie DOT com
Subject: Re: DJGPP & programs which use pocket drivers
Message-ID: <20001209144553.C9803@taniwha.org>
Mail-Followup-To: djgpp AT delorie DOT com
References: <slrn9357fh DOT 6r7 DOT szczepan AT teleinfo DOT pb DOT bialystok DOT pl>
Mime-Version: 1.0
X-Mailer: Mutt 1.0.1i
In-Reply-To: <slrn9357fh.6r7.szczepan@teleinfo.pb.bialystok.pl>; from szczepan@teleinfo.pb.bialystok.pl on Sat, Dec 09, 2000 at 08:04:17PM +0000
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 Sat, Dec 09, 2000 at 08:04:17PM +0000, Marcin Juszkiewicz wrote:
>   Hi all
> 
>   I'm writing Ethernet brigde for DOS. At this moment I use Borland
> C++ 3.10 and have few small pocket driver tools written. But running
> DOSEmu under Linux after each program-freeze isn't comfortable.

Well, I suspect your code is getting stuck in your pants. You might have
better luck using packet drivers.	;)

> I have a question to you - Who have working examples of program
> which use pocket drivers for DJGPP?

I don't have any, but you might want to find wattcp (no urls handy, sorry).
This is a full(?) tcp/ip stack for dos and djgpp (I got it going once (only
tried ping)).

> I have lot's of those MK_FP etc macros and after reading DJGPP FAQ I
> discovered that totaly rewrite of my semi-working class will be needed
> ;(

Yeah, far pointers are the one area where it's almost impossible to port
things easily. You could try writing a c++ far pointer class. I had some
success doing this, but it produced ugly code at the time (gcc-2.7.2.1) and I
don't know where my code is at the moment.

Bill
-- 
Leave others their otherness. -- Aratak

- Raw text -


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