CliAGIHost _almost_ works for me

Mar 27, 2008 at 11:28 PM
I compiled your demo, changing only:

TcpAGIScriptHost host = new TcpAGIScriptHost();

to

TcpAGIScriptHost host = new TcpAGIScriptHost(4573);

to support the port I have open for FastAGI on my Windows box. The demo executes quite nicely, displaying the 'Got agi variable' list. But as far as I can see, the 'ExecuteAllMethodsScript' never executes (nor did EchoCallerIdScript when I substituted it in 'mappings.Add("/blahblah", typeof(ExecuteAllMethodsScript))'); the console window just sits there until I enter a newline, whereapon it closes as expected.

I'm sure I'm doing rather stupidly wrong, but I can't see what.

Any suggestions would be a great help.