For Programmers: Free Programming Magazines  


Home > Archive > PERL Programming > April 2006 > Reading a socket









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Reading a socket
lones

2006-04-05, 8:40 am

Hi there,

I have written a small programme that simulates a web server. It reads the first line of incoming requests, which is generally "GET / HTTP1.1" and delivers the requested file if it exists. I wish to modify my programme so that it can read the entire HTTP header and any POST data that may be present, but have been running into problems.

Can anyone give me a little help to help me with my project?
Thanks in advance.
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com