Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: lones
  • Order by date
  1. lones

    Sockets and HTTP

    The ideal situation would be to read from the file handle <$client> until we reach a blank line. Then we are finished the header. If on the next line we find more data, then it is the POST payload. Thnx.
  2. lones

    Sockets and HTTP

    Hi, When I do this, my browser just hangs, as my programme doesn't know when to stop reading from the handle (I presume)
  3. lones

    Sockets and HTTP

    Hi there, Here is the code. I will comment it to clarify what I want to accomplish: sub service::_handleclienten($$$$) { my $self = shift(); my $client = shift(); my $server = shift(); my $clientip = shift(); # I want $request to contain the entire HTTP header # GET /...
  4. lones

    Sockets and HTTP

    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...

Part and Inventory Search

Back
Top