Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: HTTP::Daemon Script.

by MZSanford (Curate)
on Jul 06, 2001 at 13:55 UTC ( [id://94419]=note: print w/replies, xml ) Need Help??


in reply to HTTP::Daemon Script.

Forking is probably the best solution, but, as always, there is more that one way to do it. For a rather exhaustive list of the possibilities i would suggest Network Programming With Perl. The book covers using
- fork()
- Threading (not for production systems)
- IO Multiplexing (complex, but works on non-fork systems)
- Pre-forking/pre-threading
- And a ton more information on style, security, and production ready code.

A quick answer is the fork() solution above. But if you are going to be doing alot of traffic, i suggest giving the book a read.
may the foo be with you

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://94419]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (1)
As of 2024-04-19 18:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found