I have written my own web server in vb 5 pro (sp3) and I need to know how to impliment cgi into my webserver. I know how to start the program that is to be used as the cgi. I need to know how to get the stdout variable and how to set the stdin variable. Please give me code or ideas, not .dll or .ocx files. Thank you in advance.