Mail Archives: djgpp-workers/1999/01/25/10:38:10
Hello.
> - access to Windows 95's built-in TCP/IP networking
>
> The TCP/IP support allows a DJGPP program to access the Windows 95 kernel
> networking stack using a Berkeley sockets API. The bulk of the code is
> a VxD that implements the Berkeley sockets API using the semi-documented
> in-kernel TDI API to the W95 networking stack.
I maintain a library for DJGPP, libsocket
(see http://libsocket.ml.org/), that provides a BSD socket interface,
but takes a different route. It communicates with the Winsock VxD
WSOCK.VXD directly. Unfortunately it only works with Winsock 1.x and
not Winsock 2.0. Does your VxD allow DOS programs to use Winsock 2?
Also, does it allow protocols other than TCP and UDP to be used,
e.g. ICMP, that are supported by Winsock 2? Is the BSD interface support
complete?
I would be extremely happy if I could put Winsock 2 support into
libsocket. It's been bugging me for ages.
> I should note, by the way, that there are still some very obvious holes in
> these extensions. For example, there's no resolver library for TCP/IP,
> and there are doubtless some bugs.
libsocket uses the Linux resolving code, and this works fine. It
is fairly tricky to configure, however.
==============================================================================
Rich Dawe - 4th-year MSci Physicist @ Bristol University, UK
richdawe AT bigfoot DOT com, http://www.bigfoot.com/~richdawe/
==============================================================================
- Raw text -