Various network libraries and ports

This is just random collection of mainly network libraries for Watt-32 and/or MingW that I've been involved with.

For MSDOS/Watt-32 only

dosftp12.zip
A conio-based FTP client. Includes sources for Borland, High-C, Watcom, Digital Mars and GNU-C (djgpp).

curl-7.10.5-djgpp.zip
cURL 7.10.5 library for djgpp only. Goto the cURL site for the latest version.  cURL rocks

dosrpc05.zip
Sun's RPC/XDR library. The basis for the NFS protocol among other things. Also includes a portmapper and RPC code-generator. Compiles with djgpp, Borland or High-C.

dossmb02.zip
Richard Sharpe's SMB library ported to MSDOS. This is the core protocol used in file-sharing under Windows (and OS/2's LAN-Manager). Incomplete now, but work is in progress to support the latest SMB standard (NT LANMAN 1.02).

dostn08.zip
A conio-based Telnet client. Includes sources for Borland, HighC, Watcom, and GNU-C (djgpp).

dos-ncftp-21.zip
A port of the ncFTP client programs and libNcFTP API to djgpp. Includes source and binaries.
This version (2.1) is rather old, so go to http://www.ncftp.com for the latest version.

exc_dx07.zip
Exception handler library mainly for Pharlap and Metaware High-C. Some of it can be used under djgpp too.

gnumap.zip
Extracts debug information from a djgpp program and produces a detailed .map-file.
Handy if you need to know the exact layout of structures or what the stack looks like.
Example:
    struct _tm {
      /* 00000000 */ int _tm_sec;
      /* 00000004 */ int _tm_min;
      /* 00000008 */ int _tm_hour;
      /* 0000000C */ int _tm_mday;
      /* 00000010 */ int _tm_mon;
      /* 00000014 */ int _tm_year;
      /* 00000018 */ int _tm_wday;
      /* 0000001C */ int _tm_yday;
      /* 00000020 */ int _tm_isdst;
      /* 00000024 */ char *___tm_zone;
      /* 00000028 */ int ___tm_gmtoff;
   }; /* size=44 bytes */

   ...

   00001A03 1          int _main()  /* size=1115 */
   00001A03            {                             (51)
                         int _argc                   (%ebp+8)
                         char **_argv                (%ebp+12)
                         struct _SMB_Connect *_con   (%ebp-12)
                         struct _SMB_Tree *_tree     (%ebp-16)
                         int _opt                    (%ebp-20)
                         int _status                 (%ebp-24)
                  ...
  

gnutella.zip
A quick and dirty port of GNUtella file-sharing program to DOS. Requires pthreads and djgpp to compile.
Define a GNUT environment variable to point to location of gnut.exe and edit the gnut.hst file. I'm not sure this even works (I only made it compile). Use at own risk.

mwcon14.zip
A Borland compatible conio text-mode screen library for High-C/Watcom (32-bit only).
Now also for Windows (MSVC and MingW).

snmp114.zip
A port of SNMP lib v1.14 to Watt-32. Based on the project from University of Carnegie Mellon's. This project has been discontinued and replaced by net-SNMP.

openssl-djgpp.zip
Makefiles for OpenSSL. I was tired of fighting with bash, Configure and automake, so I wrote this Makefile.

snarf7-djgpp.zip
snarf ftp/http fetcher. Simpler but similar to wget.

webs218-djgpp.zip
GoAhead web-server 2.1.8 with embedded JavaScript and Active Server Pages. Optionally with https/SSL support. This .zip only contains patches and files specific to Watt-32. Get the official files before patching with the above .zip. Currently for djgpp only, but easily portable to other compilers and environments.

nullpkt.zip
A dummy test PKTDRVR.

wput031.zip
The inverse of wget; uploads files to a ftp-server directly from the cmd-line. No more messing with ftp scripts.

Other ongoing Watt-32 projects:
Port the OpenVPN library. XML-RPC, SOAP clients for embedded Web-based clients.
Mail me if you have time to spare and is willing to help.

For MingW only

ettercap-06-mingw.zip
EtterCap network sniffer and hack tool. Binaries and full source for MingW.
Goto http://ettercap.sourceforge.net/ for the latest version. This update has plug-ins for HTTPS and BIND hacking.

wireshark-mingw.zip
Wireshark (formerly Ethereal) Makefile and simple build instructions for MingW.

tcptraceroute-win.zip
Michael Toren's tcptraceroute (v1.5-beta 6) adapted for MingW and MSVC6.
This .zip includes a binary. Requires libpcap and libnet to compile.

gmp-mingw.zip
Makefiles for GNU Multi Precision Library 4.2. Note: the tests/Makefile is rather incomplete.

sylpheed-mingw.zip
Makefile for the Sylpheed email and news client. Needs GTK-Win32 to build. Note: It really rocks!.

For both MSDOS and MingW

dos-win-mtr054.zip
Matt's Traceroute 0.54 for MingW and Watt-32.




Last updated: 03 September 2008,
Gisle Vanem -- <giva@bgnett.no>