I'm working onthis project and I have to send data to a cgi script, but I have to send the message in the body of the message and not in the headers.
I think I have the message sending correctly, but I don't know how to get the cgi script to read the message body. Normally data is sent as post data and I just read from STDIN, but when I tried that I just recieve <tt>. It looks like the message is there because the content length is 24, but I don't know where to read from.