📄
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0033)http://www.smashco.com/wattcp.asp -->
<!--
BEGIN FILE HEADER
--><HTML xmlns="http://www.w3.org/1999/xhtml"><HEAD><TITLE>TCP/IP for MS-DOS with WATTCP</TITLE>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META lang=en
content="Smash-Co Communications specializes in graphic design and the procurement of offset printing, including conventional printing (plates, water, etc.) and digital printing (liquid- or toner-based). We can also help you with your computer and computer networking needs. We specialize in Windows NT, with a particular knack in integrating NT into a Macintosh workflow for the publishing and prepress industries. Smash-Co can also provide your company with web site design and hosting."
name=description>
<META lang=en
content="Smashco, Communications, windows, windows nt, microsoft, internet, hosting, web hosting, e-mail, e-mail hosting, active server pages, ASP, links"
name=keywords>
<META lang=en content="Greg Covey, gecovey@smashco.com" name=Author>
<META content="2000 Smash-co Communications" name=Copyright>
<META content=index,follow name=robots><LINK
href="TCP-IP for MS-DOS with WATTCP.files/style.css" type=text/css
rel=stylesheet><!--
END FILE HEADER
-->
<META content="MSHTML 6.00.2600.0" name=GENERATOR></HEAD>
<BODY>
<TABLE cellSpacing=0 cellPadding=0 width=600 border=0>
<TBODY>
<TR>
<TD width=170><IMG alt="Smashco Logo"
src="TCP-IP for MS-DOS with WATTCP.files/topleft.jpg" border=0></TD>
<TD><IMG alt=ref src="TCP-IP for MS-DOS with WATTCP.files/refbar.jpg"
border=0></TD></TR></TBODY></TABLE><!--
BEGIN LEFT-SIDE LINKS
-->
<TABLE cellSpacing=0 cellPadding=0 width=170 align=left border=0>
<TBODY>
<TR>
<TD bgColor=#0e79af><A href="http://www.smashco.com/index.asp"><IMG
alt="Smash-Co Home" src="TCP-IP for MS-DOS with WATTCP.files/welcome.jpg"
border=0></A> <A href="http://www.smashco.com/dev.asp"><IMG
alt="Smash-Co ASP Development"
src="TCP-IP for MS-DOS with WATTCP.files/asp.jpg" border=0></A> <A
href="http://www.smashco.com/design.asp"><IMG
alt="Smash-Co Design Portfolio"
src="TCP-IP for MS-DOS with WATTCP.files/design.jpg" border=0></A> <!-- <a href="../../snitz"><img src="../../images/forums.jpg" alt="Smash-Co ASP Dev Forums" border="0" /></a> --><A
href="http://www.smashco.com/hosting.asp"><IMG
alt="Smash-Co Hosting Services"
src="TCP-IP for MS-DOS with WATTCP.files/hosting.jpg" border=0></A> <A
href="http://www.smashco.com/links.asp"><IMG alt="Links of Interest"
src="TCP-IP for MS-DOS with WATTCP.files/links.jpg" border=0></A> <!-- <a href="../../news.asp"><img src="../../images/news.jpg" alt="News Archive" border="0" /></a> --><A
href="http://www.smashco.com/contact.asp"><IMG alt="Contacting Smash-Co"
src="TCP-IP for MS-DOS with WATTCP.files/contact.jpg" border=0></A> <!-- <a href="../../guestbook.asp"><img src="../../images/guestbook.jpg" alt="Sign the Smash-Co Guestbook" border="0" /></a> --><BR><BR>
<TABLE cellSpacing=0 cellPadding=3 align=center bgColor=#eeeedd
border=1><TBODY>
<TR>
<TD align=middle><B><FONT face=verdana size=1>Rated:</B> <A
href="http://www.aspin.com/func/review?id=2282010"
target=_blank><IMG alt=*****
src="TCP-IP for MS-DOS with WATTCP.files/10stars.gif" border=0></A>
<BR>by <A href="http://www.aspin.com/" target=_blank>Aspin.com</A>
users!<BR></FONT></TD></TR></TBODY></TABLE><!-- <img src="../../images/spacer.gif" height="30" width="50" border="0" alt="" /> -->
<CENTER><BR><!-- <img src="images/ntiis2.gif" alt="Served by MS-IIS" /><br /> --><A
href="http://www.w3.org/Style/css/Buttons/"><IMG alt="Made with CSS"
src="TCP-IP for MS-DOS with WATTCP.files/css.jpg" vspace=20 border=0></A>
<BR></CENTER></TR></TBODY></TABLE><!--
END LEFT-SIDE LINKS
-->
<TABLE cellSpacing=0 cellPadding=10 width=550 border=0>
<TBODY>
<TR>
<TD><!--
BEGIN BODY of DOCUMENT
--><SPAN>TCP/IP for MS-DOS</SPAN> <BR>by <A
href="mailto:gecovey@smashco.com">Greg Covey</A><BR>20 September, 1999
<BR>
<HR>
<P>This document outlines using the <A
href="http://www.uwaterloo.ca/">University of Waterloo</A> TCP (WATTCP)
clients under <A
href="http://support.microsoft.com/support/MS-DOS/ServiceWare/dos62/DOS62.ASP">MS-DOS.</A>
There are a few commercial TCP/IP stacks available for MS-DOS, along with
Microsoft's own version (found on the NT4.0 server CD), but the WATTCP
clients are entirely free. With that, they are completely unsupported by
the original author. If you have any questions, please feel free to <A
href="mailto:gecovey@smashco.com">drop me a line.</A> Monkeying around
with these utilities is merely a hobby. I am not a programmer. I did not
write the WATTCP libraries nor any of the clients. I simply find it
interesting and wish to share my experiences with you here. </P>
<P>The Waterloo TCP is not actually a TCP/IP stack. It is merely a set of
programming libraries used for making TCP/IP socket connections. Since
each of the WATTCP clients is pre-complied, the necessary library commands
used in each one are complied into the binary. This means that the
overhead to use these clients is quite low. The only drawback is that the
computer running the WATTCP clients is not actually a true host on the IP
network. You can't ping it, for example, from another box unless it's
running a daemon (see below). </P>
<P>Over the past few days, I have experimented with these programs. The
box I'm using is an Intel Pentium 133 with 32Mb of ram, with a Connor
120Mb fixed hard drive. I've installed MS-DOS version 6.22 along with the
packet driver for my net card (Samsung 1200-tx). My local network consists
of two NT4 servers and an NT4 workstation. All of this is connected to the
Internet through a SDSL router. </P>
<P><SPAN class=alt>Getting Started</SPAN><BR>The only hard part to using
the WATTCP clients is finding and loading the packet driver for your
particular net card. Usually this is a single file, with the '.com'
extension, and can be found on the floppy that came with your net card. If
you don't have the original floppy disk that came with your net card,
check the manufacturers web site for downloadable drivers. It is possible
that some manufacturers don't write (or support) packet drivers for their
products. Once you obtain the packet driver, copy it to your boot drive of
your DOS install. Then, load it with a command in the AUTOEXEC.BAT file,
like this: </P><PRE> C:\DRIVERS\SC1200</PRE>
<P>where 'SC1200' is the name of the packet driver. (In this example, my
netcard is a Samsung SC1200-tx.) That's all you have to do. Some packet
drivers may require more memory than others. If you're loading other
devices, try loading them into upper memory using the DEVICEHIGH command
in CONFIG.SYS, or the LOADHIGH command in AUTOEXEC.BAT </P>
<P><SPAN class=alt>The WATTCP.CFG file</SPAN><BR>Each of the WATTCP
clients expects to see the WATTCP.CFG file somewhere in the current path.
This file defines basic information about your host, and how it will
interact with other hosts on the network. Here's a sample WATTCP.CFG file.
The '#' indicates a comment and is not required. </P><PRE>my_ip=192.168.0.69 #The ip address of my dos box
netmask=255.255.255.0 #The subnet mask for my ip
nameserver=192.168.0.2 #The nameserver for my domain
gateway=192.168.0.1 #The gateway for my subnet
hostname=lala.smashco.com #The hostname of my dos box
</PRE>
<P class=alert><B>DO NOT use these settings!</B> Make sure to configure
your WATTCP.CFG file correctly. This example is used to show the reader
the basic requirements in the WATTCP.CFG file, and define the correct
syntax. </P>
<P>I'm assuming the reader will understand each entry. This is the basic
information that ANY host needs to participate on a TCP/IP network. Some
WATTCP clients require more entries in this file. More on that later. </P>
<P><SPAN class=alt>Organize your files</SPAN><BR>I like to put all the
WATTCP clients, along with the WATTCP.CFG file, into one directory. Call
it what you will, and to make your life easier, add it to the SET PATH
command in AUTOEXEC.BAT. </P>
<P><SPAN class=alt>The clients</SPAN><BR>This is not an exhaustive list.
There may be more utilities, or different versions, available. This list
represents the archives I was able to find at the time of writing. I have
only tested about a third of these utilities. A useful method of tracking
down other WATTCP utilities is to use the <A
href="http://www.lycos.com/">Lycos</A> <A
href="http://ftpsearch.lycos.com/">FAST-FTP</A> search engine. </P>
<TABLE cellPadding=7 width=500 border=1>
<TBODY>
<TR>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -