
J640 2192-10850-000-000
Page 2
Contents
Contents........................................................................................................................................2
Revision History............................................................................................................................3
Preface...........................................................................................................................................3
Software Library............................................................................................................................4
TSR (“Terminate and Stay Resident”) Support.............................................................................4
SSI (“Server Side Include”) Support.............................................................................................4
CGI (“Common Gateway Interface”) Support...............................................................................4
Data Types.....................................................................................................................................5
Logic............................................................................................................................................5
Include Files.................................................................................................................................5
TSR (“Terminate and Stay Resident”) Support...........................................................................6
Issues Pertaining to Stack Size....................................................................................................7
Coreleft() Function.......................................................................................................................8
SMALL Model Executable Example.............................................................................................9
Choice of wSPTop Parameter (when loading a TSR)...................................................................9
Choice of wSPTop Parameter (when registering CGI handler or SSI file) ..................................10
TSR Example.............................................................................................................................11
SSI (“Server Side Includes”) Support........................................................................................12
An Example SSI Implementation................................................................................................15
Dynamic SSI Variable Update....................................................................................................17
CGI (“Common Gateway Interface”) Support ...........................................................................18
Common Gateway Interface Demonstration Applications...........................................................28
Stack Overflow Example............................................................................................................29
Embedded LAN Connections.....................................................................................................30
TCP/IP Servers ............................................................................................................................30
FTP............................................................................................................................................30
HTTP.........................................................................................................................................30
NETBIOS/SMB Support...............................................................................................................30
Configuring the MERLIN to access a remote Windows 9x drive over Ethernet...........................30
NETBIOS / SMB Troubleshooter................................................................................................31
Connecting the MERLIN to a Modem.........................................................................................31
Configuring the MERLIN for Modem Operation..........................................................................31
Host Configuration.....................................................................................................................32
Connecting to an NT RAS server............................................................................................32
Connecting to a Windows 9x system......................................................................................33
Modem Connectivity Troubleshooter ......................................................................................35
Direct RS232 Cable Connection.................................................................................................35
MERLIN Configuration...............................................................................................................35
Host Configuration.....................................................................................................................36
Connection to a Windows NT system.....................................................................................36
Connecting from a Windows 9x system..................................................................................37
Direct Cable Connectivity Troubleshooter...............................................................................37
Glossary ......................................................................................................................................38