home *** CD-ROM | disk | FTP | other *** search
/ PC Online 1996 December / PCO1296.ISO / filesbbs / content / winsock.txt < prev    next >
Encoding:
Text File  |  1996-10-16  |  42.7 KB  |  1,101 lines

  1. Article: 81444 in news.answers
  2. Path: Dortmund.Germany.EU.net!Germany.EU.net!main.Germany.EU.net!EU.net!newsfeed.internetmci.com!news.zeitgeist.net!sun.sirius.com!usenet
  3. From: nac@sirius.com (Nancy Cedeno Alegria)
  4. Newsgroups: alt.winsock,alt.answers,news.answers,comp.os.ms-windows.apps.winsock.misc,comp.answers
  5. Subject: alt.winsock FAQ
  6. Followup-To: alt.winsock
  7. Date: 18 Sep 1996 19:02:10 GMT
  8. Organization: Better Than Life
  9. Lines: 1081
  10. Approved: news-answers-request@MIT.EDU
  11. Message-ID: <51pgvi$ic6@sun.sirius.com>
  12. Reply-To: nac@sirius.com
  13. NNTP-Posting-Host: ppp027-sf1.sirius.com
  14. Mime-Version: 1.0
  15. Content-Type: Text/Plain; charset=US-ASCII
  16. X-Newsreader: WinVN 0.99.8 (beta 2)
  17. Xref: Dortmund.Germany.EU.net alt.winsock:89080 alt.answers:20686 news.answers:81444 comp.os.ms-windows.apps.winsock.misc:6907 comp.answers:21186
  18.  
  19.  
  20. Archive-name: windows/winsock-faq
  21. Posting-Frequency: biweekly (first and third Monday)
  22. Last-modified: 1996/4/15
  23. URL: http://www.well.com/user/nac/alt-winsock-faq.html
  24.  
  25. ================================================
  26. The alt.winsock FAQ (Frequently Asked Questions)
  27. ================================================
  28.  
  29. Updated April 15, 1996
  30. ----------------------
  31.  
  32. Table of Contents
  33.  
  34. I. The alt.winsock Newsgroup
  35.   1) What Is This Newsgroup For?
  36.   2) What Can I Post Here?
  37.   3) What Should I Not Post Here?
  38.  
  39. II. What is a WinSock?
  40.   1) Where Did WinSock Come From?
  41.      A) Berkeley Sockets
  42.   2) How does it work?
  43.   3) What do I need to run WinSock applications?
  44.  
  45. III. What Are SLIP and PPP?
  46.  
  47. IV. What WinSocks Are Available and Where Can I Get Them?
  48.   1) Trumpet Winsock
  49.      A) Which MTU, TCP RWIN, and TCP MSS settings are best?
  50.      B) Registration Problems
  51.   2) Chameleon Sampler
  52.   3) Microsoft TCP/IP-32
  53.   4) NetCruiser
  54.   5) Do I Need This Stuff Now That Windows 95 Is Out?
  55.   6) IBM OS/2 Warp
  56.  
  57. V. Common WinSock Problems
  58.   1) "Call to Undefined Dynalink"
  59.   2) COMM Overrun
  60.   3) Can't Find C:\TEMP Directory" (Netscape)
  61.   4) Netscape 1.1's Window Doesn't Open Properly
  62.   5) How Do I Cure Various Errors in WinTalk?
  63.   6) How Do I Cure Various Errors in News Xpress?
  64.   7) "More Original Lines than New Lines" Error in a Newsreader?
  65.   8) GPF Errors in WSIRC
  66.   9) I have SLIP Emulation and DCC won't work in IRC.
  67.   10) "________ Did Not Call WSCLEANUP"
  68.  
  69. VI. Can I Run Cool Stuff Like Netscape From My Unix Shell Account?
  70.   1) The Internet Adapter (tm)
  71.      A) I Use Netcom and TIA -- Why Won't My Newsreader Work?
  72.   2) Twinsock (Troy's Winsock)
  73.   3) SLiRP
  74.   4) Remsock
  75.  
  76. VII. What's the Best __________ Application?
  77.   1) Lists, Lists, Lists
  78.   2) Windows 95 Software
  79.   3) Shareware is Not Freeware
  80.  
  81. VIII. Even More Information
  82.   1) Application FAQs
  83.      A) Free Agent
  84.      B) Netscape
  85.      C) News Xpress
  86.      D) WinVN
  87.   2) Other WinSock Resources
  88.      A) #Winsock on IRC (EFFNet)
  89.      B) #Winsock FAQ
  90.   3) TCP/IP
  91.   4) Windows Data Communication
  92.   5) TIA and Trumpet Winsock
  93.   6) SLIP Emulation
  94.   7) WinSock Developer Information
  95.      A) Winsock Programming FAQ by John Thomas Willis
  96.      B) WinSock 1.1 Standard
  97.      C) WinSock 2.0 Standard (in development)
  98.      D) Microsoft's WinSock Developer Info
  99.      E) Usenet
  100.      F) Stardust Technologies WinSock Resource Page
  101.   8) Other alt.winsock.* newsgroups
  102.   9) Winsock Newsgroups in the comp.os.ms-windows Hierarchy
  103.  10) UUEncoding and MIME Encoding Binary Files
  104.  
  105. IX. Where to Find the FAQ
  106.  
  107. X. Administrivia
  108.  
  109. ------------------------------------------------------------------------
  110.  
  111. I. The alt.winsock Newsgroup
  112. ============================
  113.  
  114.    1) What Is This Newsgroup For?
  115.    ------------------------------
  116.  
  117.    alt.winsock is an unmoderated newsgroup for general discussion of the
  118.    WinSock (Windows Sockets) API and the myriad applications that run 
  119.    under it. Postings range from questions on how to setup a WinSock 
  120.    application to more advanced topics concerning Internet protocols and 
  121.    programming. This group is also open to both newcomers and advanced 
  122.    programmers alike. Unfortunately, this openness has made alt.winsock a 
  123.    very high volume newsgroup. That is why this FAQ was created. If you 
  124.    have a question or suggestion, please do not be afraid to post it. 
  125.    Flames have never been a problem and people will usually answer what 
  126.    seem like the dumbest questions. But, in order to reduce the volume on 
  127.    this newsgroup, we ask that people consult this FAQ prior to posting a 
  128.    question. We've put together an abundance of information which we'll 
  129.    try to keep as up to date as possible.
  130.  
  131.    2) What Can I Post Here?
  132.    ------------------------
  133.  
  134.    Due to the general nature of alt.winsock, there really aren't any
  135.    restrictions on what can or cannot be posted. However, some important
  136.    points should be kept in mind.
  137.  
  138.    * Be very specific in your questions.
  139.      People will always be willing to help out. But they can't help you
  140.      if they don't know what you're talking about. If the problem
  141.      concerns your computer rather than a remote site, remember to
  142.      state which WinSock you are using (e.g., Trumpet, Chameleon), what
  143.      type of computer you have, and whether or not you are using TIA.
  144.  
  145.    * If you are replying to a post, decide whether or not the whole
  146.      group needs to see your reply. Sometimes, many people could use
  147.      your information or answer your question. Other times, it may be
  148.      better to simply e-mail your reply to a specific person or persons.
  149.  
  150.    * When announcing a new program or new version, please announce what
  151.      site it's available at and provide details about the program.
  152.  
  153.    Also, it is common courtesy to not only ask questions, but to answer
  154.    some as well. That is what keeps this group functioning. So, if
  155.    someone has a question that you know the answer to, please take a
  156.    little time to reply.
  157.  
  158.    3) What Should I Not Post Here?
  159.    -------------------------------
  160.  
  161.    Most importantly do not ask off-topic questions. The most frequent 
  162.    off-topic questions are those concerning helper applications for 
  163.    WWW browsers. Posts regarding graphics or sound viewers should be 
  164.    posted to alt.binaries.multimedia.d, alt.binaries.pictures.utilities,
  165.    alt.binaries.sounds.utilities, or another more appropriate newsgroup.
  166.  
  167.    Never post binaries to alt.winsock. In general, binaries should only 
  168.    be posted to alt.binaries.* groups. Even if you believe that you have 
  169.    found or written a great program that you think everyone in alt.winsock
  170.    will want, please do not post a binary to the newsgroup. Simply post a 
  171.    message that gives a description of the program and tell people where 
  172.    it can be found.
  173.  
  174.    Advertisers should be very careful when considering whether they 
  175.    should post on alt.winsock.  alt.winsock is NOT a forum for 
  176.    advertising. But, if your product is a WinSock application, or 
  177.    might be of interest to WinSock users, please announce yourself as an 
  178.    advertiser and give an accurate description of your product.
  179.  
  180.    Before you post any generic questions, please check the FAQ. 
  181.    Please do not post any questions that can be answered in the FAQ. Many 
  182.    of the routine questions include "What Telnet programs are out there?" 
  183.    "Where can I find xxxx?" or other such questions.  Checking the FAQ 
  184.    first will reduce traffic and get you a quicker answer as well.
  185.  
  186.  
  187. II.  What is a WinSock?
  188. =======================
  189.  
  190. WinSock is short for Windows Sockets.  Today's most popular Internet 
  191. applications for Microsoft Windows and IBM OS/2 are developed according 
  192. to the WinSock standard.
  193.  
  194.    1) Where Did WinSock Come From?
  195.    -------------------------------
  196.  
  197.    WinSock is short for Windows Sockets, and is used as the interface 
  198.    between TCP/IP (Transmission Control Protocol/Internet Protocol), and 
  199.    Windows. TCP/IP has been called "the language of the Internet" and 
  200.    rightly so--most of the Internet is comprised of systems that use TCP/IP 
  201.    to talk to one another.
  202.  
  203.    The WinSock specification was born at one of the "Birds of a Feather"
  204.    sessions at the Interop conference in Fall of 1991. The current 
  205.    version of the specification is 1.1, but work continues on the WinSock 
  206.    2.0 specification, which is scheduled for completion mid-1995.
  207.  
  208.       A) Berkeley Sockets
  209.       -------------------
  210.  
  211.       Berkeley Sockets is the standard programming model for TCP/IP
  212.       networking under Unix. Windows Sockets was designed to be very 
  213.       similar to Berkeley Sockets so that those experienced in programming 
  214.       with sockets in Unix will be able to easily make the transition to
  215.       Windows Sockets. However, there are a few deviations in the WinSock
  216.       standard that take advantage of Windows-specific features not
  217.       supported in Unix. For more information, see the following:
  218.  
  219.         ftp://ftp.microsoft.com/bussys/winsock/spec11/winsock.txt
  220.  
  221.    2) How does it work?
  222.    --------------------
  223.  
  224.    WinSock is a .DLL (Dynamic Link Library) and runs under Windows 3.x,
  225.    Windows for Workgroups, Windows NT, and Windows 95. The WINSOCK.DLL is 
  226.    the interface to TCP/IP and, from there, on out to the Internet. 
  227.    (TCP/IP stands for "Transmission Control Protocol / Internet 
  228.    Protocol," the "language" that computers on the Internet use to 
  229.    communicate with each other.)
  230.  
  231.    The easiest way to show how it works is with a diagram:
  232.  
  233.        WinSock-compliant Application (e.g., Netscape, WinVN)
  234.                               |
  235.                           WINSOCK.DLL
  236.                               |
  237.                             TCP/IP
  238.                               |
  239.                      Modem or Network card
  240.                               |
  241.                        Network and beyond
  242.  
  243.    WINSOCK.DLL actually acts as a "layer" between your WinSock 
  244.    applications and your TCP/IP stack.  Your WinSock applications tell 
  245.    WINSOCK.DLL what to do, WINSOCK.DLL translates these commands to your 
  246.    TCP/IP stack, and your TCP/IP stack passes them on to the Internet!
  247.  
  248.    But the most important thing for you to remember about WINSOCK.DLL is 
  249.    that the WINSOCK.DLL you're using must match the version of TCP/IP 
  250.    that you're running. Don't assume that because all WinSocks are called 
  251.    WINSOCK.DLL that they're all the same--they're not. So, for example, 
  252.    if I'm using Microsoft's TCP/IP, I can't use Trumpet Winsock.
  253.  
  254.    Similarly, if I'm running on a SLIP connection, and I want to switch 
  255.    from Chameleon Sampler's Winsock to Trumpet Winsock, I first need to 
  256.    remove Chameleon's version of WINSOCK.DLL before installing the new 
  257.    one.
  258.  
  259.    If you end up with multiple versions of WINSOCK.DLL floating around 
  260.    your hard disk, you're asking for trouble. Before you come screaming 
  261.    at alt.winsock, take a couple of minutes to check your hard disk for 
  262.    multiple WINSOCK.DLLs.
  263.  
  264.    For more information, see NCSA's winsock.dll page on the Web at:
  265.  
  266.      http://www.ncsa.uiuc.edu/SDG/Software/WinMosaic/winsocks.htm
  267.  
  268.    3) What do I need to run WinSock applications?
  269.    ----------------------------------------------
  270.  
  271.    Using WinSock applications to access the Internet requires:
  272.  
  273.    - A suitable connection to the Internet.
  274.    - A TCP/IP stack (which includes it's own WINSOCK.DLL).
  275.  
  276.    Your connection to the Internet may take the form of a direct 
  277.    connection via a network card or a dialup account using a modem.  Most 
  278.    users reading this FAQ will be using the latter.  You'll probably need 
  279.    to acquire an account with an Internet service provider (or else 
  280.    get an account through work or school, if available) -- either a 
  281.    SLIP or PPP account (these are protocols for communicating with the 
  282.    Internet via modem; either is fine, though PPP is generally preferred), 
  283.    or a shell account which allows you to run a SLIP emulator (covered in 
  284.    Section VI.)
  285.  
  286.    The TCP/IP stack you use depends upon your needs.  Some operating 
  287.    systems include stacks, such as Microsoft Windows 95 and IBM OS/2. For 
  288.    other operating systems, like Microsoft Windows 3.1/3.11 or Microsoft 
  289.    Windows for Workgroups 3.11, you'll need to add a stack. Section IV. 
  290.    of this FAQ covers some of the most popular.  Some are free, some are 
  291.    shareware (if you continue to use them after an evaluation period, you 
  292.    must pay a small fee), and others are commercial.  Some include no 
  293.    WinSock applications, while others include all the basic apps you'll
  294.    need.
  295.  
  296.    A fast computer, 8MB or more of memory, and a high speed modem for 
  297.    dialup connections (at least 14.4k) are also recommended.
  298.  
  299.    And, of course, you'll need some WinSock applications.  Section VII.
  300.    points to lists of WinSock applications available.
  301.  
  302.  
  303. III.  What Are SLIP and PPP?
  304. ============================
  305.  
  306.    There are several different ways individual PC users can get access to 
  307.    the Internet. Of all the access methods available, SLIP (Serial Line
  308.    Interface Protocol) and PPP (Point-to-Point Protocol) accounts give 
  309.    you the most options, as far as applications are concerned.
  310.  
  311.    SLIP has been around since the mid-1980s. It was originally designed 
  312.    to allow Unix machines to connect to one another over the phone. It 
  313.    essentially "tricks" your computer into thinking that its modem 
  314.    connection is a dedicated network connection (the kind you would 
  315.    usually need a network card for).
  316.  
  317.    PPP is based on SLIP, but it is a more sophisticated protocol. It 
  318.    contains additional error checking and authentication, which makes it 
  319.    more reliable than SLIP. For most PC users, there really isn't much 
  320.    difference between the two. Because PPP is more reliable and is 
  321.    generally accepted to be the standard of the future, you should get 
  322.    PPP if you're offered a choice between the two.
  323.  
  324.    WinSock works great with SLIP and PPP. Most WinSock versions come with 
  325.    dialer programs to do the actual connection over your modem.
  326.  
  327.  
  328. IV. What WinSocks Are Available and Where Can I Get Them?
  329. =========================================================
  330.  
  331.    1) Trumpet Winsock
  332.    ------------------
  333.  
  334.    Peter Tattam's Trumpet Winsock is one of the most popular WINSOCK.DLLs 
  335.    available. It includes both WINSOCK.DLL and a dialer program to get 
  336.    you connected if you're using SLIP or PPP. Versions 2.0b and 2.0e have
  337.    been replaced by version 2.1. Version 2.0b is still available from:
  338.  
  339.      ftp://ftp.cica.indiana.edu/pub/pc/win3/winsock/twsk20b.zip
  340.      ftp://ftp.coast.net/SimTel/win3/winsock/twsk20b.zip
  341.  
  342.    Version 2.1 is still in development. Recent developments have improved
  343.    PPP performance and fixed scripting errors. Like version 2.0, version
  344.    2.1 supports both SLIP and PPP. A fairly powerful scripting language 
  345.    is also included for login, logout, and other actions. Trumpet Winsock
  346.    is shareware. After 30 days, you must register (international: US$25,
  347.    Australia: AU$25).
  348.  
  349.      ftp://b-box.trumpet.com.au/pub/winsock/twsk21f.zip
  350.  
  351.    Mirrors:
  352.      ftp://ftp.synapse.net/contrib/trumpet/winsock/twsk21f.zip
  353.      ftp://ftp.coast.net/SimTel/vendors/trumpet/winsock/twsk21f.zip
  354.  
  355.    Make sure you read the README.1ST file if you're upgrading from Trumpet
  356.    Winsock 2.0x.
  357.  
  358.    There is a beta version of Trumpet Winsock for Windows 95.  For more 
  359.    information, see:
  360.  
  361.      http://www.trumpet.com.au/wsk/faq/win95.htm
  362.  
  363.    More Information:
  364.       http://www.trumpet.com.au/wsk/winsock.htm
  365.  
  366.       A) Which MTU, TCP RWIN, and TCP MSS settings are best?
  367.       ------------------------------------------------------
  368.  
  369.       Unfortunately, there isn't a simple answer to this question. 
  370.       It really depends on what kind of connection you have. Ethernet, 
  371.       SLIP, PPP, and CSLIP all require different settings. Also, your 
  372.       Internet provider may require that you use certain values. But there 
  373.       are a few rules that may help you find the best values.
  374.  
  375.       First check which values your Internet provider recommends. These
  376.       values will generally be the best. However, not all providers have
  377.       experience with Trumpet Winsock, or the values they give you may 
  378.       still need additional adjustment for optimal speed and reliability.
  379.  
  380.       The INSTALL.DOC that comes with Trumpet Winsock also lists a few
  381.       general rules for setting these values. MTU should be TCP MSS+40. 
  382.       TCP RWIN should be 3 or 4 times TCP MSS. It suggests starting with 
  383.       the following values: MTU=256, TCP RWIN=848, TCP MSS=212. However, 
  384.       these are only general rules and there may be better values for 
  385.       your particular situation.
  386.  
  387.       Peter Tattam also believes that MTU should be pushed up to 1500 if 
  388.       supported by your provider, although many providers recommend 
  389.       setting the MTU at 1006. 
  390.  
  391.       He also recommends that you set the values for SLIP/PPP as follows: 
  392.       TCP MSS=512, TCP RWIN=2048. CSLIP/CPPP values should be: TCP 
  393.       MSS=212, TCP RWIN=848.
  394.  
  395.       Ethernet and TIA users should use the following values: MTU=1500,
  396.       TCP RWIN=4096, TCP MSS=1460.
  397.  
  398.       B) Registration Problems
  399.       ------------------------
  400.  
  401.       One of the biggest problems Trumpet has been having is responding 
  402.       to user registrations. Be patient because they are busy. But if you 
  403.       find that they never respond, send e-mail to 
  404.       registrations@trumpet.com.au.  Give your full name and Trumpet 
  405.       should respond promptly with your registration number.
  406.  
  407.          More Information:
  408.  
  409.             Trumpet Software International Home Page:
  410.                http://www.trumpet.com.au/
  411.  
  412.  
  413.    2) Chameleon Sampler
  414.    ---------------------
  415.  
  416.    Chameleon Sampler is another popular WinSock. Internet Chameleon is 
  417.    NetManage's heavy-duty full-featured commercial package. Chameleon 
  418.    Sampler is a freeware package that includes both SLIP and PPP support. 
  419.    In addition, it also includes basic FTP, Telnet, Mail, and Ping 
  420.    clients. Like Trumpet, it also includes its own dialer and has proven 
  421.    itself to be stable and compatible. It is included with several books.
  422.  
  423.     More Information:
  424.       http://www.netmanage.com/netmanage/products/chamsamp.html
  425.  
  426.    3) Microsoft TCP/IP-32
  427.    ----------------------
  428.  
  429.    This is Microsoft's stack for use with Windows NT or Windows for 
  430.    Workgroups 3.11.  Unfortunately, this stack does NOT support dialup 
  431.    connections. Free for owners of Windows NT or Windows for Workgroups.  
  432.    Available from:
  433.  
  434.       ftp://ftp.microsoft.com/peropsys/windows/Public/tcpip/
  435.  
  436.    4) NetCruiser
  437.    -------------
  438.  
  439.    NetCruiser probably doesn't belong on this list, as it's not 100%
  440.    WinSock compatible.  NetCruiser includes a proprietary stack and 
  441.    suite of applications included with SLIP accounts from Netcom (a 
  442.    large Internet service provider), the latest version has added 
  443.    *some* WinSock compatibility. NetCruiser itself works only with Netcom.
  444.  
  445.    Compatibility Notes: WinSock applications known to have difficulty with 
  446.    NetCruiser include WinTalk and mIRC.
  447.  
  448.    More Information: 
  449.       http://www.netcom.com/faq/
  450.       http://www.netcom.com/
  451.  
  452.    5) Do I Need This Stuff Now That Windows 95 Is Out?
  453.    ----------------------------------------------------
  454.  
  455.    Nope.  Windows 95 includes all the 32-bit TCP/IP and WinSock drivers 
  456.    that you'll need.  And, it includes its own "Dial-Up Networking" that 
  457.    lets you use SLIP or PPP.
  458.  
  459.    A lot of Windows 95 beta users have installed Trumpet Winsock and are 
  460.    using it quite happily.
  461.  
  462.    More Information: 
  463.       http://www.microsoft.com/Windows/
  464.       http://www.calamistrum.com/Win95Soft/barry/wn95slip.html
  465.       http://www.trumpet.com.au/wsk/faq/win95.htm
  466.       http://www-leland.stanford.edu/~llurch/win95netbugs/faq.html
  467.  
  468.    6) IBM OS/2 Warp
  469.    ----------------
  470.  
  471.    IBM's OS/2 Warp operating system includes a stack and a suite of 
  472.    applications that have been well-received.  Aside from the included 
  473.    applications, native WinSock software for OS/2 is sparse.  Most 
  474.    Windows WinSock applications run well. Included with the operating 
  475.    system (street price approx. US$70-140 depending upon 
  476.    configuration)
  477.  
  478.     More Information:
  479.       http://www.austin.ibm.com/pspinfo/warp.html
  480.       http://pclt.cis.yale.edu/pclt/winworld/os2.htm
  481.  
  482.  
  483. V. Common WinSock Problems
  484. ==========================
  485.  
  486.    1) "Call to Undefined Dynalink"
  487.    ---------------------------------------------------
  488.  
  489.    Although this error message can be caused by a number of different 
  490.    problems, as far as WinSock users are concerned, it probably has to do 
  491.    with having multiple versions of WINSOCK.DLL hanging around your hard 
  492.    disk.  To solve this problem, make sure that you do not have multiple 
  493.    versions of WINSOCK.DLL in your PATH. If so, remove or rename the 
  494.    versions you're not using. If you only have a single version of 
  495.    WINSOCK.DLL, it may not be in the path. Simply put it in 
  496.    \WINDOWS\SYSTEM or add your WinSock's directory to the PATH statement
  497.    in your AUTOEXEC.BAT file.
  498.  
  499.    2) COMM Overrun
  500.    ---------------
  501.  
  502.    This error occurs when the modem goes too fast for the COM port and 
  503.    Windows.  There are a couple of things you have to check.  First, if 
  504.    you've got an external modem running at 14.4kbps or above, make sure 
  505.    you're connecting it to a COM port that uses the UART 16550a (or some 
  506.    1655xx variant) chip. You can check this using the MSD.EXE program that 
  507.    comes with Windows.
  508.  
  509.    Now, once you've got that verified, you need to replace the old 
  510.    COMM.DRV driver that came with Windows 3.x, because it was designed to 
  511.    work with the older UART 8550 chip.  (Windows for Workgroups 3.11
  512.    users don't need to worry about this.)  The two most popular
  513.    replacement COMM drivers are  CyberCom and WFXComm. Documentation is
  514.    included and they can be found at the following sites: 
  515.  
  516.       ftp://ftp.coast.net/simtel/win3/commprog/cybercom.zip
  517.       ftp://ftp.winsite.com/pub/pc/win3/misc/wfxcomm.zip
  518.  
  519.    Also, you need to edit your SYSTEM.INI file to include the following 
  520.    statements in your [386Enh] section:
  521.  
  522.       com1FIFO=1
  523.       com1buffer=1024
  524.       comboosttime=8
  525.  
  526.    (If you're using a COM port other than 1, change the com1 to com2, 
  527.    etc.)
  528.  
  529.    Although it is quite out of date, There is a FAQ that provides a more 
  530.    in-depth discussion of this subject: 
  531.  
  532.      http://www.cis.ohio-state.edu:80/hypertext/faq/usenet/windows-com-
  533.      faq/faq.html
  534.  
  535.    3) Can't Find C:\TEMP Directory" (Netscape)
  536.    -------------------------------------------
  537.  
  538.    Most Windows users have their temporary directory set to 
  539.    C:\WINDOWS\TEMP -- but Netscape assumes that you use C:\TEMP unless
  540.    you tell it otherwise.
  541.  
  542.    To correct this problem, do the following:
  543.  
  544.    1. In Netscape, go to the "Options" menu.  Choose "Preferences."
  545.    2. At the very top of the dialog there will be a drop-down listbox. 
  546.       Click it, and choose "Directories, Applications, and News."
  547.    3. Change C:\TEMP to C:\WINDOWS\TEMP (or whatever your actual 
  548.       temporary directory is) and click "OK."
  549.  
  550.    Users of Windows or Windows for Workgroups can determine their 
  551.    temporary directory by examining their AUTOEXEC.BAT file.  The line
  552.    will look similar to this:
  553.  
  554.      SET TEMP=c:\windows\temp\
  555.  
  556.    If no such line exists, you'll want to add one.  Make sure that the 
  557.    indicated directory exists.
  558.  
  559.    4) Netscape 1.1's Window Doesn't Open Properly
  560.    ----------------------------------------------
  561.  
  562.    Although this bug has been fixed in the beta releases of Netscate 1.2,
  563.    users of Netscape 1.1 may experience problems with window sizing.
  564.  
  565.    In Netscape 1.1, there is a bug that may cause the Netscape window to 
  566.    open off-center and partially off the screen. Unfortunately, this was 
  567.    not fixed in the official release of Netscape 1.1N.
  568.  
  569.    There are two methods to improve this:
  570.  
  571.    1. Resize the window with the mouse (do not maximize). Then save the 
  572.       window size by clicking "Save Options" under the "Options" menu.
  573.    2. Directly edit the NETSCAPE.INI file. This method generally works
  574.       best. It also enables you to see what the problem is. Using an 
  575.       example of a 640x480 monitor, Netscape 1.1 gave the NETSCAPE.INI 
  576.       file the following default values:
  577.  
  578.         [Main Window]
  579.         x=-4
  580.         y=-4
  581.         width=648
  582.         height=488
  583.  
  584.       Change the settings to:
  585.  
  586.         [Main Window]
  587.         x=0
  588.         y=0
  589.         width=640
  590.         height=480
  591.  
  592.    5) How Do I Cure Various Errors In WinTalk?
  593.    -------------------------------------------
  594.  
  595.    Depending upon the version of WinTalk you use, you may either:
  596.  
  597.      1) have trouble running the program, with frequent "gethostname()" 
  598.         or similar error messages, or 
  599.      2) the program may appear to work properly until you attempt to talk 
  600.         with someone, and you receive a "They don't recognize us!" error.
  601.  
  602.    The solution depends upon the way you're accessing the Internet.  If 
  603.    you're not sure which the of the below you're using, ask your provider 
  604.    for help.
  605.  
  606.      If you're on a SLIP or PPP connection with a permanent IP Address: 
  607.      ------------------------------------------------------------------
  608.  
  609.      Your machine may not be listed in your provider's DNS.  Ask your 
  610.      provider to add it.  If your account is new, keep in mind that it 
  611.      may take several days before your machine name is in the DNS, at
  612.      which point WinTalk should work properly.
  613.  
  614.      If you're on a SLIP or PPP connection with Dynamic IP Addressing:
  615.      -----------------------------------------------------------------
  616.  
  617.      It's very likely that some, if not all, of the IP addresses in the
  618.      dynamic IP pool are not registered in the DNS.  Ask your provider to
  619.      please do this, if possible.
  620.  
  621.      Emulated SLIP (TIA, etc.):
  622.      --------------------------
  623.  
  624.      WinTalk is incompatible with emulated SLIP.  Sorry, there are no
  625.      workarounds at this time.
  626.  
  627.    6) How Do I Cure Various Errors in News Xpress?
  628.    -----------------------------------------------
  629.  
  630.    If you receive a "No Authorization" or similar error in News Xpress, 
  631.    do the following:
  632.  
  633.    1. Choose "Setup" from the "Config" menu.  
  634.    2. Delete any information you typed into the "Username" and "Password" 
  635.       fields.  Click "OK."
  636.  
  637.    7) "More Original Lines than New Lines" Error in a Newsreader?
  638.    ---------------------------------------------------------------
  639.  
  640.    If you receive a "More Original Lines than New Lines" or "More Quoted 
  641.    Text than Original Text," or another similar error when trying to 
  642.    follow-up to a Usenet news article, your newsreader program is not
  643.    to blame.
  644.  
  645.    This is an option set by your system administrator to prevent users 
  646.    from sending articles which contain, for example, 100 lines of quoted 
  647.    text with "I agree" added to the bottom.  Such articles are considered
  648.    a nuisance.  Consider editing the quoted text for clarity.
  649.  
  650.    Some users adjust their newsreader to use an unusual quote character.  
  651.    In some cases, this can fool the news server software and thwart your 
  652.    provider's options.  Please be aware that this is a blatant 
  653.    circumvention of your provider's policies, and may result in loss of 
  654.    your Internet access.  This type of action is inadvisable.
  655.  
  656.    If the quoted text limitation really bothers you, try *politely* 
  657.    asking your provider to change this option in their news server 
  658.    software.
  659.  
  660.    8) GPF Errors in WSIRC
  661.    ----------------------
  662.  
  663.    While WSIRC does have some stability problems, some releases also have 
  664.    a bug which allows other IRC users to easily cause WSIRC to crash
  665.    (GPF, General Protection Fault).  In Version 1.4e and before, a simple
  666.    null CTCP command is all it takes.
  667.  
  668.    However, Versions 1.4f and later, including the recently released
  669.    Version 2.0 have apparently fixed this problem.
  670.  
  671.    If you're receiving frequent GPF errors with WSIRC, you may wish to 
  672.    update or switch to another IRC client.
  673.  
  674.    9) I have SLIP Emulation and DCC won't work in IRC
  675.    --------------------------------------------------
  676.  
  677.    Like Talk, DCC will not completely work with SLIP emulation. Although 
  678.    it is a feature of IRC, DCC connects directly between two computers.
  679.    Therefore, it requires both computers to have an IP address for full 
  680.    functionality.
  681.  
  682.    Fortunately, some features of DCC will work. You will be able to 
  683.    receive a DCC Chat request and DCC Get will also work. But you will be
  684.    unable to initiate a DCC Chat or use DCC Send.
  685.  
  686.    10) "________ Did Not Call WSCLEANUP"
  687.  
  688.    Fill in the blank -- it can be any WinSock app.  Not a problem,
  689.    really.  All it means is that the app in question did not tell WinSock 
  690.    that is was finished with the socket it was using.
  691.  
  692.  
  693. VI. Can I Run Cool Stuff Like Netscape From My Unix Shell Account?
  694. ==================================================================
  695.  
  696. If you're limited to a Unix shell account, you may still be able to take 
  697. advantage of Winsock applications.  Several SLIP Emulators are available 
  698. which "convert" standard shell accounts into makeshift SLIP accounts.
  699.  
  700. Note: Many providers do not allow you to run a SLIP emulator.  Some are 
  701.       concerned about system resources; others want you to buy a real
  702.       SLIP or PPP account (which are almost universally more expensive).
  703.       If your provider bans use of SLIP emulators, using one may result
  704.       in loss of your Internet access.  (Yes, system administrators can
  705.       tell if you're using a SLIP emulator even if you change the
  706.       executable's file name or size.)
  707.  
  708.    1) The Internet Adapter (tm)
  709.    ----------------------------
  710.  
  711.    The Internet Adapter (TIA) is an innovative product by Cyberspace
  712.    Development, Inc. that allows Unix shell users to simulate a SLIP
  713.    connection over a Unix shell account. PPP is not yet supported, but it
  714.    is expected to be included when v2.0 is released. TIA is installed on
  715.    the Unix host (either in your home directory, if you're a single user,
  716.    or with the other Unix executables on the system if it's a site-
  717.    licensed copy provided by your provider). When you run TIA on your
  718.    Unix host, you can then run WinSock applications on your own machine.
  719.    (Note that you still need to install WinSock on your PC.)
  720.  
  721.    For most applications, there is no difference between a true SLIP
  722.    account and TIA. But there are a few drawbacks. Because TIA users do
  723.    not have a real, unique IP address, applications that require this
  724.    (some DCC Chat, Talk, CuSeeMe, Ping, etc.) will not work. Also,
  725.    servers, in general, will not work. The latest beta version does have
  726.    a port redirection feature, but TIA is not meant for server use. TIA
  727.    requires that you have an "8-bit clean" connection to the Internet.
  728.    Check the TIA FAQs for more information.
  729.  
  730.    TIA currently costs U.S. $25.00 for a single-site license. They also
  731.    have 14-day temporary licenses available. Version 1.04 has recently 
  732.    been moved from beta to official release in preperation for the 
  733.    release of Version 2.0, which is currently in closed beta testing.
  734.    All future upgrades will be free to registered users.
  735.  
  736.    More information:
  737.       http://marketplace.com:80/tia/tiahome.html
  738.       e-mail: tia-info@marketplace.com
  739.  
  740.       A) I use Netcom and TIA -- Why Won't My Newsreader Work?
  741.       --------------------------------------------------------
  742.  
  743.       So far, Netcom is the only large provider that has had this
  744.       problem. Netcom does not allow its users to access the NNTP server.
  745.       But there is a way around this. A free product also found at:
  746.  
  747.          ftp://marketplace.com/tia
  748.  
  749.       allows the newsreader to access news off the disk. This program is
  750.       installed, just like TIA, in your Unix shell. It is executed at the
  751.       same time as TIA by executing "tia -p:119 nntpd." There is also
  752.       good documentation in the tiabeta directory.
  753.  
  754.       More Information:
  755.          ftp://marketplace.com/tia/readme.nntpd
  756.  
  757.    2) Twinsock (Troy's Winsock)
  758.    ----------------------------
  759.  
  760.    Troy Rollo's Twinsock is a freeware alternative to TIA.  Unlike TIA,
  761.    Twinsock includes both a host program to be placed on your shell
  762.    account and its own special stack.  Setup can be easier than TIA,
  763.    since the stack requires no special configuration.  Note that Twinsock
  764.    will work even without an 8-bit clean connection, though the 6-bit
  765.    mode is slower.
  766.  
  767.    See the FAQ (under More Information, below) for information about
  768.    FTPing the latest compiled versions for various hosts.  You must FTP
  769.    the complete package (see below) to obtain the required stack, which
  770.    is compiled.  Source code for the host program and the stack is
  771.    included.
  772.  
  773.    More Information:
  774.       http://www_ug.eecg.utoronto.ca/~luk/tsfaq.html
  775.  
  776.    FTP Sites:
  777.       ftp://ftp.coast.net/simtel/win3/winsock/twnsck14.zip
  778.       ftp://archive.orst.edu/pub/mirrors/simtel/win3/winsock/twnsck14.zip
  779.       ftp://micros.hensa.ac.uk/mirrors/simtel/win3/winsock/twnsck14.zip 
  780.  
  781.    3) SLiRP
  782.    --------
  783.  
  784.    A recent addition to the SLIP emulation scene, Danny Gasparovski's
  785.    SLiRP is quickly gaining momentum.  It's similar to TIA, but doesn't 
  786.    include a stack, although it is free. No compiled versions are 
  787.    available yet; you'll have to compile it yourself. Available from:
  788.  
  789.       ftp://peace.wit.com/danjo/slirp/slirp-0.9o.tar.gz
  790.       ftp://blitzen.canberra.edu.au/pub/slirp/slirp-0.95d.tar.gz
  791.  
  792.    More Information:
  793.       http://blitzen.canberra.edu.au/slirp
  794.  
  795.    4) Remsock
  796.    ----------
  797.  
  798.    Oslonett's Remsock is a little-used SLIP emulator similar to Twinsock
  799.    in that it includes its own stack.  Much of the documentation is in
  800.    Norwegian. Aside from compatibility problems, Remsock's biggest
  801.    failing is that it's "crippleware."  It stops working 15 minutes into
  802.    each connection until you pay the registration fee ($15).  Available
  803.    from:
  804.  
  805.       ftp://kids.kotel.co.kr/pub/network/remsock.zip
  806.  
  807. VII. What's the Best ________ Application?
  808. ==========================================
  809.  
  810. There are currently over a hundred WinSock applications out there. We
  811. won't try to tell you which one is the best one for your needs. To a
  812. certain extent, you're going to have to figure that out for yourself.
  813.  
  814.    1) Lists, Lists, Lists
  815.    ----------------------
  816.  
  817.    Fortunately, there are several excellent resources out there that can
  818.    provide you with pointers to (and evaluations of) most of the Internet
  819.    programs available on the Internet for Windows users.
  820.  
  821.    There are several regularly updated lists of WinSock applications. If
  822.    you're looking for something, try these lists first. You can FTP the 
  823.    files directly through either of the Web-based lists.  Here are the most
  824.    popular and useful:
  825.  
  826.    - Stroud's Consummate Winsock Apps List (updated regularly)
  827.      http://cws.wilmington.net/cwsa.html
  828.  
  829.    - The Ultimate Collection of Winsock Compliant Software
  830.      http://www.tucows.com/
  831.  
  832.    - Ed Sinkovits' Winter List (updated weekly)
  833.      http://www.mbnet.mb.ca/winter/index.html
  834.       or
  835.      ftp://ftp.coast.net/SimTel/win3/winsock/winter15.zip
  836.  
  837.    - Craig Larsen's Winsock Application FAQ (complete list of all
  838.      Winsock applications)
  839.      http://www.primenet.com/~larsenc/faqhtml.html
  840.  
  841.    - Stardust Technologies, Inc. WinSock Page
  842.      http://www.winsock.com
  843.  
  844.    2) Windows 95 Software
  845.    ----------------------
  846.  
  847.    Finding WinSock applications for Windows 95 is much more difficult
  848.    than finding software for Windows 3.x. Fortunately, there is a
  849.    new software archive that exclusively lists Windows 95 applications:
  850.  
  851.    - Net Ex Unofficial Windows 95 Software Archive
  852.      http://www.netex.net/w95/index.html
  853.  
  854.    - Windows95.com
  855.      http://www.windows95.com
  856.  
  857.    3) Shareware is Not Freeware
  858.    ----------------------------
  859.  
  860.    The WinSock community has been very fortunate to have many freeware 
  861.    applications available. For this, everyone should be grateful to the
  862.    many authors who have put many countless hours writing these programs.
  863.  
  864.    However, not all winsock applications are freeware. Many are
  865.    shareware, and shareware is NOT the same as freeware. Please use your
  866.    conscience. If you try out a shareware program and find it to be
  867.    useful, send in the registration fee. The prices are usually quite
  868.    reasonable. Moreover, it encourages and enables further development of
  869.    many great applications.
  870.  
  871.  
  872. VIII.  Even More Information
  873. ============================
  874.  
  875.    1) Application FAQs
  876.    -------------------
  877.  
  878.    There are a growing number of FAQs and an abundance of README files
  879.    available for many individual WinSock applications. Several FAQs are
  880.    listed below. The following site also provides a fairly descent 
  881.    selection of README files and other text documents covering a variety 
  882.    of WinSock applications.
  883.  
  884.      ftp://ftp.best.com/pub/schaft/Internet_Apps/TXT_FILES
  885.  
  886.      A) Free Agent
  887.      -------------
  888.  
  889.      Free Agent Frequently Asked Questions:
  890.        http://www.forteinc.com/agent/csfaq.htm
  891.  
  892.      B) Netscape
  893.      -----------
  894.  
  895.      Netscape Navigator - Frequently Asked Questions:
  896.        http://home.netscape.com/eng/mozilla/1.1/faq.html
  897.  
  898.      C) News Xpress
  899.      --------------
  900.  
  901.      Brian H. Smither has recently written the News Xpress FAQ. The 
  902.      author of News Xpress has also indicated that he plans to include
  903.      the FAQ with releases of News Xpress as well.
  904.  
  905.      NewsXpress FAQ
  906.         http://www.malch.com/nxfaq.html
  907.  
  908.      D) WinVN
  909.      --------
  910.  
  911.      The WinVN FAQ is available both from the sites below and
  912.      is also included with recent versions of WinVN.
  913.  
  914.      HTML Version:
  915.        Frequently Asked Questions about the WinVN Newsreader:
  916.          http://www.ksc.nasa.gov/software/winvn/faq/WINVNFAQ-Contents.html
  917.  
  918.      ASCII Version:
  919.        Frequently Asked Questions about the WinVN Newsreader:
  920.          ftp://ftp.ksc.nasa.gov/pub/winvn/docs/winvnfaq.txt
  921.  
  922.  
  923.    2) Other WinSock Resources
  924.    --------------------------
  925.  
  926.       A) #Winsock on IRC (EFFNet)
  927.       ---------------------------
  928.  
  929.       The IRC channel #Winsock was created by Keith Veseleny (IRC nick:
  930.       VC). Participants discuss the latest WinSock applications, assist
  931.       new users, and are a friendly bunch.
  932.  
  933.       For those unfamiliar with IRC bots, bots are special computer
  934.       programs which look like other IRC users and can respond to requests.
  935.       Two bots on #Winsock provide help and files, 24 hours a day.
  936.  
  937.       Mookbot is #Winsock's help bot (portions of this FAQ are based on the 
  938.       help file first created for Mookbot).  Type "/msg mookbot help" for 
  939.       answers to common questions.
  940.  
  941.       IgBot is #Winsock's file bot.  Many of the latest WinSock
  942.       applications can be downloaded from the bot using DCC file
  943.       transfer. Type "/msg igbot files" to see a list of available files
  944.       and "/msg igbot help filetransfer" for file transfer instructions.
  945.  
  946.       B) #Winsock FAQ
  947.       ---------------
  948.  
  949.       This is the faq that grew out of the IRC channel #Winsock. Much of
  950.       the information in this FAQ has been incorporated here, although it
  951.       does cover a few issues that this FAQ does not address.
  952.  
  953.          http://mars.superlink.net/user/mook/winfaq.html
  954.  
  955.    3) TCP/IP
  956.    ---------
  957.  
  958.    Although similar to alt.winsock, the 
  959.    comp.os.ms-windows.networking.tcp-ip newsgroup is less crowded and
  960.    tends to discuss issues concerning TCP/IP with MS Windows itself
  961.    rather than the usually application-based discussion on alt.winsock.
  962.  
  963.    The comp.os.ms-windows.networking.tcp-ip FAQ can be found at:
  964.      http://www.cis.ohio-state.edu/hypertext/faq/usenet/ibmpc-tcp-ip-faq/
  965.      top.html
  966.  
  967.    4) Windows Data Communication
  968.    -----------------------------
  969.  
  970.    The most important part of your SLIP or PPP Internet connection is, of
  971.    course, your telephone link. Malcolm Hoar has written a modem guide
  972.    that includes information to help you troubleshoot an unstable
  973.    connection. It also has several links to other sites with more
  974.    information on modems.
  975.  
  976.       http://www.best.com/~malch/comfaq.html
  977.  
  978.    5) SLiRP/TIA and Trumpet Winsock
  979.    --------------------------------
  980.  
  981.    Lynn Larrow has written an excellent troubleshooting guide for TIA and
  982.    Trumpet Winsock. This FAQ also address several related issues as well.
  983.  
  984.       http://www.webcom.com/~llarrow/tiarefg.html
  985.  
  986.    6) SLIP Emulation
  987.    -----------------
  988.  
  989.    For general discussion about SLIP Emulation, check out the
  990.    alt.dcom.slip-emulators newsgroup.
  991.  
  992.    7) WinSock Developer Information
  993.    --------------------------------
  994.  
  995.    Here are several resources available to WinSock Developers on the 
  996.    Internet.
  997.  
  998.       A) Winsock Programming FAQ by John Thomas Willis
  999.       ------------------------------------------------
  1000.  
  1001.       Offers links to source code for C/C++, Visual Basic, and Pascal.
  1002.  
  1003.          http://www.LCS.com/program.html
  1004.  
  1005.       B) WinSock 1.1 Standard
  1006.       -----------------------
  1007.  
  1008.          ftp://SunSite.UNC.EDU/pub/micro/pc-stuff/ms-windows/winsock/FAQ
  1009.  
  1010.       C) WinSock 2.0 Standard (in development)
  1011.       ----------------------------------------
  1012.  
  1013.          ftp://sunsite.unc.edu/pub/micro/pc-stuff/ms-windows/winsock/
  1014.          winsock-2.0
  1015.  
  1016.       D) Microsoft's WinSock Developer Info
  1017.       -------------------------------------
  1018.  
  1019.          http://www.microsoft.com/products/developer/winsock/default.htm
  1020.  
  1021.       E) Usenet
  1022.       ---------
  1023.  
  1024.          alt.winsock.programming
  1025.  
  1026.       F) Stardust Technologies WinSock Resource Page
  1027.       ----------------------------------------------
  1028.  
  1029.          http://www.stardust.com/wsresource/wsresrce.html
  1030.  
  1031.    8) Other alt.winsock.* Newsgroups
  1032.    ---------------------------------
  1033.  
  1034.          alt.winsock.ivc
  1035.          alt.winsock.programming
  1036.          alt.winsock.trumpet
  1037.          alt.winsock.voice
  1038.  
  1039.    The traffic on alt.winsock.ivc and alt.winsock.voice is often sparse
  1040.    and overlapping. Although not as active as alt.winsock, both 
  1041.    alt.winsock.programming and alt.winsock.trumpet are active groups.
  1042.  
  1043.    Also, when posting, please do not post the same message to multiple
  1044.    groups in the alt.winsock hierarchy.  
  1045.  
  1046.    9) Winsock Newsgroups in the comp.os.ms-windows Hierarchy
  1047.    ---------------------------------------------------------
  1048.  
  1049.          comp.os.ms-windows.apps.winsock.mail
  1050.          comp.os.ms-windows.apps.winsock.misc
  1051.          comp.os.ms-windows.apps.winsock.news
  1052.  
  1053.    10) UUEncoding and MIME Encoding Binary Files
  1054.    ---------------------------------------------
  1055.    Jim Howard has written an excellent FAQ on the subject.  You can
  1056.    usually find the latest copy in many of the alt.binaries.pictures.*
  1057.    newsgroups, or at:
  1058.  
  1059.      ftp://rtfm.mit.edu/pub/usenet/news.answers/pictures-faq
  1060.  
  1061.  
  1062. IX. Where to Find the FAQ
  1063. =========================
  1064.  
  1065. The alt.winsock FAQ will be posted to alt.winsock every other Monday. It
  1066. can also be found in HTML format at:
  1067.  
  1068.   http://www.well.com/user/nac/alt-winsock-faq.html
  1069.  
  1070. The FAQ will be archived monthly through news.answers as of this posting.
  1071. It can be found at:
  1072.  
  1073.   ftp://rtfm.mit.edu/pub/usenet/news.answers/windows/winsock-faq
  1074.  
  1075. Or send e-mail to mail-server@rtfm.mit.edu with the following message:
  1076.  
  1077.   send usenet/news.answers/windows/winsock-faq
  1078.  
  1079.  
  1080. ------------------------------------------------------------------------
  1081.  
  1082. X. Administrivia
  1083. ================
  1084.  
  1085. This FAQ was instigated by Darran Edmundson, and compiled by Kevin Osborn
  1086. (Kevin.Osborn@bc.edu) and Nancy Cedeno (nac@sirius.com), and includes
  1087. information from the #Winsock FAQ by Mike J.M. (mook@mars.superlink.net).
  1088.  
  1089. Thanks also to Bob Ennis, Lynn Larrow, Craig Larsen, Ed Sinkovits, Perry
  1090. Grieb, and Aaron Weintraub.
  1091.  
  1092. Comments and suggestions are welcome--this is a document in progress!
  1093.  
  1094. -- 
  1095. Nancy Cedeno Alegria   "I'm not procrastinating -- I'm researching!"
  1096. Writer, netsurfer
  1097. nac@well.com                 Author of "The Internet Tool Kit"
  1098. nac@sirius.com                 (SYBEX, ISBN 0-7821-1688-4)
  1099.  
  1100.  
  1101.