in reply to Re: Socket Server without forking?
in thread Socket Server without forking?

still doesn't work

Replies are listed 'Best First'.
Re^3: Socket Server without forking?
by Gorby (Monk) on Sep 14, 2007 at 09:17 UTC
    This worked! Now my question is, what text do i send back to the client so that if the client is a web browser, it will be able to display what i send back? Thanks in advance for your wisdom!
      You need to send an HTTP header and then a HTML page.

      But usually you really want to use an existing webserver and CGI.

      If you really need a pure perl web server, use HTTP::Server::Simple.