start page | rating of books | rating of authors | reviews | copyrights

Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: Reference: abs Chapter 5
Function Reference
Next: Reference: alarm
 

accept

accept 
newsocket
, 
genericsocket

Readies a server process to accept socket connections from clients. Execution is suspended until a connection is made, at which time the newsocket filehandle is opened and attached to the newly made connection. The function returns the connected address if the call succeeds, or returns false otherwise (and it puts the error code into $! ). genericsocket must be a filehandle already opened via the socket function and bound to one of the server's network addresses.


Previous: Reference: abs Perl in a Nutshell Next: Reference: alarm
Reference: abs Book Index Reference: alarm

Library Navigation Links

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