Mail Archives: djgpp/2000/12/09/16:46:13
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 -