ABS Tech Note: DAL32 Terminal Servers and DAL

This technical note discusses a problem with reliability issues when trying to connect to a DAL server through an asynchronous connection and a terminal server.
When attempting to connect to a DAL server via the Asynchronous network adapter through a terminal server, you may have trouble writing connection scripts that work reliably. A common symptom is that the connection scripts work when in debugging mode, but they don't work as consistently (or at all) when in standard mode.

Some terminal servers do baud rate recognition and require two carriage returns at the beginning of the script to activate them. DAL may send those returns with too little delay for the server to recognize them. The solution is to add a short wait between the two returns by modifying the script from '\\r\\r' to '\\r\\w1\\r', which forces DAL to pause long enough for the terminal server.
Published Date: Feb 19, 2012