home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 3 Comm / 03-Comm.zip / te2pro21.zip / TCPIP.TXT < prev    next >
Text File  |  1996-06-11  |  3KB  |  72 lines

  1. Using TE/2 Pro! and TE/2 Classic with TCP/IP Sockets
  2. ----------------------------------------------------
  3.  
  4. TCP/IP Addressing
  5. -----------------
  6. For both TE/2 Pro! and TE/2 Classic, TCP/IP addressing takes the following
  7. form:
  8.  
  9.                      AF_INET/<host>/<port>
  10.  
  11.     <host>    is either a host name such as "hostname.com" or a dotted quad
  12.           address such as "222.222.102.5"
  13.     <port>    is either a literal port number such as "23" (23 is the standard
  14.           telnet port) or a "well-known socket id" including the protocol,
  15.           i.e., "telnet/tcp".
  16.  
  17. Example: The telnet address of the OS/2 Shareware BBS would be:
  18.  
  19.         AF_INET/bbs.os2bbs.com/23         -- or --
  20.         AF_INET/bbs.os2bbs.com/telnet/tcp
  21.  
  22.  
  23. Telnet
  24. ------
  25. Simply connecting to a socket with TE/2 Classic or TE/2 Pro does NOT put
  26. the TE/2 terminal into Telnet "mode".  With each product, there is an
  27. additional step which will be covered in the individual discussions below.
  28.  
  29.  
  30. TE/2 Pro
  31. --------
  32.     1. Open the Settings notebook for the terminal object you wish to use.
  33.     2. Turn to the "Modem" page and blank out the modem "Init String".
  34.     3. On the first page, select "Socket" for Session Type.
  35.     4. Enter the host address in the "Device Name" field as outlined above.
  36.  
  37. To enable the terminal object as a telnet session, turn to the "Terminal"
  38. page in the settings notebook, select the "ANSI/VT" tab and check the box
  39. labeled "Telnet handshaking"
  40.  
  41.  
  42. TE/2 Classic
  43. ------------
  44. Make sure that you installed "TCP/IP Socket Support" when you installed
  45. the product.  You may use the CFGTE2 program or edit TE2.INI manually to
  46. accomplish the following:
  47.  
  48.     1. Set the "Device" setting to the host address as outlined above.
  49.     2. Set the "ModemInitStrg" to blank.
  50.  
  51. To enable Telnet mode, set "Telnet TRUE" in TE2.INI.  If you are using
  52. the CFGTE2 program, you will find this on the "Terminal Settings" menu.
  53.  
  54.  
  55. Using non-IBM TCP/IP drivers with TE/2 Pro
  56. ------------------------------------------
  57. TE/2 Classic allows you to install TCP/IP support for IBM's TCP/IP, FTP
  58. Software's PC/TCP, or for Novel's LAN Workplace for OS/2.  TE/2 Pro only
  59. includes the IBM component although the others will work as well.  To
  60. change the component, follow these steps:
  61.  
  62.     1. Exit TE/2 Pro and open an OS/2 command line session.
  63.     2. Change directories to the directory containing your current set of
  64.      TE/2 Pro DLL files.
  65.     3. Place the TE/2 Classic installation diskette in drive A: and type:
  66.      "copy /b a:TE2INST.000+a:TE2INST.007 DLLS.EXE"
  67.     4. Execute DLLS.EXE by typing "DLLS".  This will extract the three DLL
  68.      components.  After this step, you may delete DLLS.EXE.
  69.     5. The three DLLs are IBM_TCP.DLL (which should be identical to your
  70.      current OBTCPIP.DLL except for the name), FTP_TCP.DLL (the FTP
  71.      Software version), and LWP_TCP.DLL (the Novel LAN Workplace version).  Copy the desired file onto OBTCPIP.DLL.
  72.