delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/01/16/09:16:34

From: George Foot <mert0407 AT sable DOT ox DOT ac DOT uk>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: RSXNTDJ and export libs...
Date: 16 Jan 1998 13:58:02 GMT
Organization: Oxford University, England
Lines: 57
Message-ID: <69np1a$g3m$3@news.ox.ac.uk>
References: <34befb68 DOT 0 AT news DOT cadvision DOT com>
NNTP-Posting-Host: sable.ox.ac.uk
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

On 16 Jan 98 06:17:12 GMT in comp.os.msdos.djgpp Calvin French <frenchc AT cadvision DOT com> wrote:

: Somebody awhile back had suggested that for a DJGPP Winsock implementation, 
: why not just use RSXNT and make an export lib of WSOCK32.DLL. I wish I could 
: remember who this was. At any rate, I'm thouroughly tuckered out trying to 
: get LIBWSOCK to work, although it did (more or less) perform as expected it 
: does not seem particularily stable and from what I gather it will not 
: function at all with Winsock 2.0, which is really unfortunate. Now my 
: question;

Stability isn't really a problem with some Winsock libraries I've
seen; I've never had any trouble with my own (but that's probably
because I know exactly how to use it and what it can and cannot do).
Dan's library in version 0.93b seemed quite stable to me, but I didn't
use it much (C++ isn't my forte).  I haven't looked at Indrek's yet,
but he's implemented more functions than I have.

Last I heard, some people are trying to figure out how the VxD for
Winsock 2.0 works.  This was a few months ago now though...

Another option I think they were trying was to use a third party VxD
which as far as I understand allows a DOS application to call pretty
much any DLL function (by making it the VxD that calls the function,
not the DOS app).

: hope) I'd really like to get a free solution. I found a DJGPP+RSXNTDJ+DX5 
: package out there, I was very impressed. So it's a possibility that I could 
: just use DirectPlay since someone else has already done this and it will 
: accomplish what I want (and perhaps with less pain in the long run, anyways)

Alfons Hoogervorst and others have created a portable library
originally called SockThing but now called Dossock95, among other
names.  It works under Watcom, Borland and Symantec in DOS and
Windows, and also with RSXNTDJ in Windows IIRC (but I haven't tested
this).  A message was posted to this mailing list around July 1997 --
try searching the archives at http://www.delorie.com/djgpp/.  I'm
working on a straight djgpp port of this at the moment; it's nearly
done :).

One interesting thing about this library is that it can get all its
information about IP address and nameservers from the registry (or at
least the next version will be able to).  I have ported the registry
reader to djgpp already; I've also separated the registry reader
completely from the rest of SockThing and made a djgpp library
(libreg.a) from it.  I'll probably upload this somewhere shortly.  It
basically offers standard registry reading functions.  There's another
module by Alfons which automates the reading of IP and nameserver data
from the registry that you can look at when he releases it to see
where to get the data from in the registry for various types of
connection.

In addition, libnet's winsock driver will (hopefully) have this
functionality soon, so anyone who wants minimal code just to read IP
data from the registry will be free to `steal' it from libnet.

-- 
george DOT foot AT merton DOT oxford DOT ac DOT uk

- Raw text -


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