www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/10/15/10:43:52

Date: Thu, 15 Oct 1998 17:40:52 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Walter Moore <wbmoore AT fedex DOT com>
cc: "djgpp AT delorie DOT com" <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: <Pine.SUN.3.91.981015173630.16530A-100000@is>
MIME-Version: 1.0
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.

- Raw text -


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