Interface Configuration Guide 7705 SAR Interfaces
Edition: 01 3HE 11011 AAAC TQZZA 181
 
3.6.6.1 Raw Socket Configuration
A raw socket IP transport interface can be configured for each RS-232 serial port on 
a node. This allows the serial port to receive TCP connections or UDP session 
packets from multiple remote hosts, or to create new sessions to remote hosts in 
order to send and receive serial data to and from those remote hosts.
There are port-level and service-level configuration requirements for a raw socket 
serial port to send and receive serial data in either server mode, client mode, or both. 
Raw socket port-level configuration includes defining the end-of-packet checking 
parameters (idle-time, length, special character) and the inter-session delay for 
transmitting session data over the serial link. See Serial Commands for the required 
information.
At the service level, an IP transport subservice is created within an IES or VPRN 
service to associate the serial port with the respective IES or VPRN service. 
TCP/UDP encapsulated serial data is routed within the corresponding Layer 3 IES or 
VPRN service. The required configuration includes IP transport subservice local-host 
and remote-host configuration, TCP timers, and session control. Refer to the 
7705 SAR Services Guide, “IES Raw Socket IP Transport Configuration 
Commands” and “VPRN Raw Socket IP Transport Configuration Commands” for the 
required information.
3.6.6.2 Raw Socket Packet Processing
Figure 27 illustrates how raw socket packets are processed over a serial link.
Session data attempting to access the serial port is queued. One queue is 
maintained per session. The purpose of the session queue is to prevent two different 
flows of packets from interleaving out the serial port and creating unreadable 
messages. When data is being transmitted over the serial link for a session, any 
other session’s data is queued until the first session has emptied its queue. The next 
session’s data is transmitted over the serial link only after the inter-session-delay 
timer expires. Each session’s data is sent out in round-robin fashion.