The code will be pretty similar to FCGI code, the source code of LSAPI LIB is open, distributed with our PHP and Ruby API code. We can provide a sample code similar to the sample code in FastCGI SDK, please contact info@litespeed...