develooper Front page | perl.libwww | Postings from August 2001

accept schemantics for HTTP::Daemon and IO::Socket differ

Thread Next
From:
Blair Zajac
Date:
August 6, 2001 18:07
Subject:
accept schemantics for HTTP::Daemon and IO::Socket differ
Message ID:
3B6F13F8.F4B1F2A0@gps.caltech.edu
Hello,

In an array context IO::Socket::accept will return the socket and the
peer returned from ::accept.  HTTP::Daemon::accept always only returns
the socket, not keeping the same schemantics that you would except by
reading the HTTP::Daemon manual page.

Here's a patch to fix this.

Blair
Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About