home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 3 Comm
/
03-Comm.zip
/
te2pro21.zip
/
TCPIP.TXT
< prev
next >
Wrap
Text File
|
1996-06-11
|
3KB
|
72 lines
Using TE/2 Pro! and TE/2 Classic with TCP/IP Sockets
----------------------------------------------------
TCP/IP Addressing
-----------------
For both TE/2 Pro! and TE/2 Classic, TCP/IP addressing takes the following
form:
AF_INET/<host>/<port>
<host> is either a host name such as "hostname.com" or a dotted quad
address such as "222.222.102.5"
<port> is either a literal port number such as "23" (23 is the standard
telnet port) or a "well-known socket id" including the protocol,
i.e., "telnet/tcp".
Example: The telnet address of the OS/2 Shareware BBS would be:
AF_INET/bbs.os2bbs.com/23 -- or --
AF_INET/bbs.os2bbs.com/telnet/tcp
Telnet
------
Simply connecting to a socket with TE/2 Classic or TE/2 Pro does NOT put
the TE/2 terminal into Telnet "mode". With each product, there is an
additional step which will be covered in the individual discussions below.
TE/2 Pro
--------
1. Open the Settings notebook for the terminal object you wish to use.
2. Turn to the "Modem" page and blank out the modem "Init String".
3. On the first page, select "Socket" for Session Type.
4. Enter the host address in the "Device Name" field as outlined above.
To enable the terminal object as a telnet session, turn to the "Terminal"
page in the settings notebook, select the "ANSI/VT" tab and check the box
labeled "Telnet handshaking"
TE/2 Classic
------------
Make sure that you installed "TCP/IP Socket Support" when you installed
the product. You may use the CFGTE2 program or edit TE2.INI manually to
accomplish the following:
1. Set the "Device" setting to the host address as outlined above.
2. Set the "ModemInitStrg" to blank.
To enable Telnet mode, set "Telnet TRUE" in TE2.INI. If you are using
the CFGTE2 program, you will find this on the "Terminal Settings" menu.
Using non-IBM TCP/IP drivers with TE/2 Pro
------------------------------------------
TE/2 Classic allows you to install TCP/IP support for IBM's TCP/IP, FTP
Software's PC/TCP, or for Novel's LAN Workplace for OS/2. TE/2 Pro only
includes the IBM component although the others will work as well. To
change the component, follow these steps:
1. Exit TE/2 Pro and open an OS/2 command line session.
2. Change directories to the directory containing your current set of
TE/2 Pro DLL files.
3. Place the TE/2 Classic installation diskette in drive A: and type:
"copy /b a:TE2INST.000+a:TE2INST.007 DLLS.EXE"
4. Execute DLLS.EXE by typing "DLLS". This will extract the three DLL
components. After this step, you may delete DLLS.EXE.
5. The three DLLs are IBM_TCP.DLL (which should be identical to your
current OBTCPIP.DLL except for the name), FTP_TCP.DLL (the FTP
Software version), and LWP_TCP.DLL (the Novel LAN Workplace version). Copy the desired file onto OBTCPIP.DLL.