Reference: accept (Perl in a Nutshell)

Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: 17.3 The HTTP ModulesChapter 17
The LWP Library
Next: Reference: url
 

accept

 $d->accept ([pkg])

Accepts a client request on a socket object and creates a connection with the client. This method is the same as IO::Socket->accept, except it will return a reference to a new HTTP::Daemon::ClientConn object. If an argument is given, the connection object will be created in the package named by pkg. If no connection is made before a specified timeout, the method will return undef.


Previous: 17.3 The HTTP ModulesPerl in a NutshellNext: Reference: url
17.3 The HTTP ModulesBook IndexReference: url

Library Navigation Links

Copyright © 2001 O'Reilly & Associates. All rights reserved.