Date: Sat, 9 Dec 2000 14:45:53 -0700 From: Bill Currie 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: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: ; 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 Precedence: bulk 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