delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/01/12/04:17:54

Date: Wed, 12 Jan 1994 09:32:25 +0100 (MET)
From: Harco de Hilster <harcoh AT cs DOT kun DOT nl>
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Re: TCP/IP and /djgpp/samples/dpmi/pktdrvr.c

Excerpts from external.djgpp: 11-Jan-94 Re: TCP/IP and /djgpp/sampl.. by
Russell Nelson AT crynwr DOT co 
>   > 1) is there a tcp/ip library for dos that provides a unix networking
>   >    interface, and (if not):
>   > 
>   > 2) where would I find enough documentation to write functions to
>   >    emulate the functionality that I need.
>  
> Wattcp would be a good start.  It provides the same capability with
> different semantics.  That is, you don't get 'socket()', 'bind()',
> 'accept()', etc, but you get functions that accomplish the same thing.
>  
> Look in the packet driver collection's SOFTWARE.DOC to find it.

To compile wattcp with djgpp requires a lot of changes. There is some
assembly code that needs to be rewritten (in C), and the low level
packet interface has to be changed to the 1.1 style. I once wrote a very
simple bsd-like wrapper on top of wattcp, but a real socket interface is
not possible.

An other sollution is to use Peter Tattems ?? tcpdrv. It's a TSR on top
of a packet driver. It offers almost the same interface as wattcp, but
it lakes e.g. a resolver interface. The missing code can be taken from
the wattcp librairy.

Last week I started to write a djgpp interface for the tcpdrv, but I
haven't got very far. If any one is interested in working on it
together, let me know. I think I would be a greatly simplify porting
unix code.

Regards,

Harco

- Raw text -


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