Using the MSS
Host-Initiated Connections
5 - 1
5 - Using the MSS
This chapter explains how to use the MSS interactively and with host applications. Host-initiated
connections include:
•
Making socket connections to TCP/IP and IPX/SPX hosts.
NOTE:
There are no services on the MSS. All connections are made via sockets.
•
Making LAT connections to VMS, Ultrix, and OSF/1 hosts.
•
Using host applications with the MSS.
•
Using the code examples included with the MSS.
Interactive uses include manipulating sessions, making outgoing connections, and viewing server
and network information with the help of the Show commands.
In addition, explanations are provided for:
•
Setting up two MSSs to emulate a direct serial connection over the LAN.
•
Using the MSS as a data pipe between a serial device and multiple hosts on
the network.
5.1 Host-Initiated Connections
5.1.1 Socket Connections
Each node on a network has a node address, and each node address can allow connections on one
or more sockets. Sometimes these sockets are referred to as ports. TCP/IP and IPX connections
can be made directly to the MSS serial port using sockets.
There are two categories of sockets. Well-known sockets are those that have been defined in RFCs
(Requests for Comments); for example, port 23 is used for Telnet connections. There are also
custom sockets that users and developers define for their specific needs.
NOTE:
If the serial port is in use, the socket connection will be refused.
5.1.1.1 TCP/IP Socket Connections
The MSS supports TCP/IP socket connections to ports 2001 and 3001. Opening a TCP session to
port 3001 will form a raw TCP/IP connection to the serial port. Port 2001 can be used when Telnet
IAC interpretation is needed.
To specify a connection to a socket, use the Telnet command followed by the MSS IP address (or
resolvable name) and the desired socket number.
Figure 5-1:
TCP/IP Socket Connection
% TELNET mymss:2001
Summary of Contents for MSS1-T
Page 1: ...MSS Reference Manual For Lantronix MSS1 T MSS1 T2 and MSS485 Micro Serial Servers...
Page 2: ......
Page 6: ......
Page 8: ......
Page 14: ......
Page 16: ......
Page 24: ......
Page 26: ......
Page 32: ......
Page 34: ......
Page 44: ......
Page 46: ......
Page 60: ......
Page 104: ......
Page 108: ......