Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

Re: sendmail in 1 millisecond

by Roger (Parson)
on Aug 15, 2005 at 08:11 UTC ( #483789=note: print w/replies, xml ) Need Help??

in reply to sendmail in 1 millisecond

Network related operations (such as Email) are asynchronous, they should be handled asynchronously. Well, you can fork() a child process (or lots of child processes), and let each of them handle a sendmail request, and your main process can carry on doing other stuff.

There are a few examples here in the monastery that does what I described above. Check out the multi-threaded network ping example. Well, you have to search the monastery for the code, I am not going to provide the link here.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2022-12-05 10:17 GMT
Find Nodes?
    Voting Booth?

    No recent polls found