This page hosted by
Get your own Free Home Page
WSOCK
This is WSock. It's a WinSock like driver for DJGPP. It uses the wsock.vxd/wsock.386
file included with Windows 3.11 and 95.
The current version is 0.99. It is here.
How to install:
-
unzip the library with the -d option in it's own directory.
-
everything can be compiled using rhide.
How to use the chat program:
-
open 2 dos windows.
-
run chat1 in one window, and chat2 in the other window.
-
if you want to chat on the internet, just change the address used for connect
in chat1.cc and run chat2 on the other computer.
How to use the HTTP server:
-
make sure +lfn is set to y in djgpp.env.
-
run SERVER.EXE
-
open http://localhost:6666 in netscape or use get (see below).
-
if have Windows 3.1, not 95, try something like http://localhost:6666/index.htm,
or http://localhost:6666/flame.gif
How to use get (gets documents from a web server):
-
type get <file name> eg get index.html
-
if you want to connect to a web server on the internet, set the address
used for connect in get.cc and set the port to 80.
How to use _echo:
-
Just run _echo and telnet to your're computer.
Version History
-
0.90
-
0.91 :
-
Fixed Win3.1 file Opening.
-
Added SetOption() and GetOption().
-
0.91a : 1-17-97
-
Automatically loads wsock.vxd into memory.
-
0.91b : 1-18-97
-
0.92 : 1-??-97
-
Added BOOTP - RFC 1497.
-
Added One DNS Service - Resolve - RFC 1035.
-
Some Callback functionality.
-
0.93 : 2-11-97
-
Created a library.
-
Uses standard libs.
-
0.93a : 3-2-97
-
Fixed bug in recv, thanks to Roger Cuddy.
-
0.93b : 3-6-97
-
Fixed bug in SocketInit, thanks to David Stockton.
-
0.99 : 10-22-96
-
Fixed several bugs.
-
Added alot of debuging information. Just add "Debug = 1" to the begining
of main to see the spam.
-
Added several functions including select.
-
future versions:
-
Add the rest of the wsock functions.
-
Add more database functions.
-
Add a WINS client.
If you find a bug, want something added, or have a question; email me at
hedl0036@tc.umn.edu or danhedlund@geocities.com.