Date: Thu, 15 Oct 1998 17:40:52 +0300 (IDT) From: Eli Zaretskii X-Sender: eliz AT is To: Walter Moore cc: "djgpp AT delorie DOT com" Subject: Re: how to port TCP/IP client prog from UNIX In-Reply-To: <199810151145.AA09350@gateway.fedex.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com On Thu, 15 Oct 1998, Walter Moore wrote: > I'm trying to port a TCP/IP client that I wrote from > UNIX to the PC. I would like to make use of the > Winsock.dll provided with win95 or win98, so I do > not have to install anything else on the users' PCs. > This would also allow me to not have to have multiple > TCP/IP configurations also. Can I do this? It is usually a good idea to look in section 22.3 of the DJGPP FAQ list (v2/faq211b.zip) which lists some packages people keep asking for. In this case, it describes a couple of libraries that will alow to access Winsock from a DJGPP program. Note that these do not work with Winsock2 yet, so Windows 98 is currently not supported. > Is there a way to dynamically link a djgpp program > with the winsock.dll? You need to create a native Win32 program for this. Either use RSXNTDJ add-on or switch to one of the Win32 compilers. See section 3.6 of the FAQ for more details and URLs.