Date: Wed, 27 Nov 1996 14:33:12 +0100 (MET) From: Mark Habersack Reply-To: grendel AT ananke DOT amu DOT edu DOT pl To: Ken Fraser cc: djgpp AT delorie DOT com Subject: Re: Is it possible to access the Win95 TCP/IP stack from a DJGPP program? In-Reply-To: <849044573.7403.1@ttsltd.demon.co.uk> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Sun, 24 Nov 1996, Ken Fraser wrote: >I'd like to recompile/hack a Unix TCP/IP program with DJGPP and access >the Windows95 TCP/IP stack. > >Is this possible without using the MFCs etc or do I need an alternate >TCP/IP stack/library and if so where do I find a suitable one. Since you write the program is Unix, it's clear it's not MFC (and that's VERY good ;-). To port it into djgpp and Win95 you only have to do two things: * create an export library with RSXNTDJ from WSOCK32.DLL * port the sockets code from unix to Windows (it's a little bit different) Then just compile your program and off you go! Good luck! @*@*@*@*@*@*@*@*@*@*@*@*@*@*@*@*@*@*@*@*@*@*@*@*@*@*@*@*@*@*@*@*@*@*@*@*@ Who left the cap off the toothpaste tube, who forgot to flush the loo? Leave your sweaty socks outside the door, don't walk accross my polished floor, oh Judy! - PUNCH A JUDY [...] Propping up a bar, family car, sweating out a mortgage as a balding clerk World war three, suburbanshee, just slip her these pills an I'll be free PUNCH A JUDY. Judy no more! @*@*@*@*@*@*@*@*@*@* http://ananke.amu.edu.pl/~grendel *@*@*@*@*@*@*@*@*@