delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/04/22/12:15:58

Newsgroups: comp.os.msdos.djgpp
From: rd5718 AT irix DOT bris DOT ac DOT uk (Rich Dawe)
Subject: Re: Winsock 2.0
Message-ID: <ErtHF6.2BD@fsa.bris.ac.uk>
Lines: 43
Sender: usenet AT fsa DOT bris DOT ac DOT uk (Usenet)
Organization: University of Bristol, England
References: <6himql$b2v$1 AT adonis DOT tdi DOT net>
Date: Wed, 22 Apr 1998 13:28:18 GMT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Joe Osburn (joeos19 AT idt DOT net) wrote:
: <snip>
: My question is, how do I use DJGPP with winsock 2.0?  Obviously the
: wsock library and libsock library shouldn't work, because if I remeber
: correctly, the use the vxd.

	This is correct.

	One way might be to use DJ Delorie's port of the Waterloo TCP/IP
library (also called WATTCP) to DJGPP. I think this uses packet drivers to
interface to the card. I think these packet drivers will work under
Windows '95 (don't know about '98) in a DOS box. This would circumvent
Winsock and go straight to the network card. I think I got some packet
drivers from Crynwr Software's site at http://www.crynwr.com/, but I may
have got the name wrong.

	From what I remember, the port is somewhere on the DJGPP FTP site
in DJ Delorie's directory. I can't remember the URL, but it's somewhere
off ftp://ftp.delorie.com/pub/. I think the DJGPP version of WATTCP is
also available from it's home site (Univesity of C-something in Canada) -
maybe a Yahoo! search will turn it up.

: I thought maybe I could somehow work with the dll file, but I
: have no experience working under dos/windows, I've only programmed for Linux
: up till now.  If linking (??) it with the dll file is viable, could someone
: explain how I would go about doing this, or point me in the right direction?

	This sounds like a good alternative, and I've though about doing
it before, but I don't think it's possible. Hopefully I'm wrong.

	Another way of doing it would be for someone to write a VxD that
provides TCP/IP access to DOS boxes, but obviously this is a lot of work.

	Hope this helps,

	Rich Dawe

-- 
==============================================================================
              Rich Dawe - 3rd year Physicist @ Bristol Uni, UK
E-mail: rd5718 AT bristol DOT ac DOT uk        Web pages: http://irix.bris.ac.uk/~rd5718/
==============================================================================

- Raw text -


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