]>
Commit | Line | Data |
---|---|---|
3bd189cb JR |
1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> |
2 | <HTML> | |
3 | <HEAD> | |
4 | <TITLE> [IRCServices] what do they think ? | |
5 | </TITLE> | |
6 | <LINK REL="Index" HREF="index.html" > | |
7 | <LINK REL="made" HREF="mailto:ircservices%40ircservices.za.net?Subject=%5BIRCServices%5D%20what%20do%20they%20think%20%3F&In-Reply-To=37fe04a3.00221%40dragonfire.net"> | |
8 | <META NAME="robots" CONTENT="index,nofollow"> | |
9 | <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> | |
10 | <LINK REL="Previous" HREF="000192.html"> | |
11 | <LINK REL="Next" HREF="000195.html"> | |
12 | </HEAD> | |
13 | <BODY BGCOLOR="#ffffff"> | |
14 | <H1>[IRCServices] what do they think ?</H1> | |
15 | <B>Jonathan George</B> | |
16 | <A HREF="mailto:ircservices%40ircservices.za.net?Subject=%5BIRCServices%5D%20what%20do%20they%20think%20%3F&In-Reply-To=37fe04a3.00221%40dragonfire.net" | |
17 | TITLE="[IRCServices] what do they think ?">net at lite.net | |
18 | </A><BR> | |
19 | <I>Fri Oct 8 15:28:41 PDT 1999</I> | |
20 | <P><UL> | |
21 | <LI>Previous message: <A HREF="000192.html">[IRCServices] what do they think ? | |
22 | </A></li> | |
23 | <LI>Next message: <A HREF="000195.html">[IRCServices] what do they think ? | |
24 | </A></li> | |
25 | <LI> <B>Messages sorted by:</B> | |
26 | <a href="date.html#194">[ date ]</a> | |
27 | <a href="thread.html#194">[ thread ]</a> | |
28 | <a href="subject.html#194">[ subject ]</a> | |
29 | <a href="author.html#194">[ author ]</a> | |
30 | </LI> | |
31 | </UL> | |
32 | <HR> | |
33 | <!--beginarticle--> | |
34 | <PRE>Why not use popen() and open a pipe to sendmail, pipe in the information | |
35 | and then close the pipe? That way sendmail spawns off a new process, | |
36 | without requiring the addition of timeout handling etc. | |
37 | ||
38 | For the record, it's a proven concept that the above method will work - | |
39 | StarChat (around 1000 concurrent connections at night). | |
40 | ||
41 | [Note: StarChat doesn't use EsperNet services, this is just an example.] | |
42 | ||
43 | |<i> For the record, the proper way to do this would be to open a direct SMTP | |
44 | </I>|<i>connection to a known mail server and send the mail over that connection, | |
45 | </I>|<i>using select() to monitor the status of the connection (and timing out in a | |
46 | </I>|<i>reasonable period of time to prevent people from using up all file | |
47 | </I>|<i>descriptors by sending lots of SENDPASS requests). Note that a proper | |
48 | </I>|<i>implementation of this functionality requires quite a bit of work, including | |
49 | </I>|<i>redoing the main program loop and I/O code to be able to monitor multiple | |
50 | </I>|<i>sockets at once; this is why I never got around to adding this functionality. | |
51 | </I>|<i>If it were as simple as writing a function like the original poster did, I | |
52 | </I>|<i>would have done it long ago. | |
53 | </I> | |
54 | ------------------------------------------ | |
55 | Jonathan George (<A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices">net at lite.net</A>) | |
56 | Terra World, Inc. (<A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices">support at terraworld.net</A>) | |
57 | Programmer (<A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices">outlaw at terraworld.net</A>) | |
58 | Technician (<A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices">root at lite.net</A>) | |
59 | ||
60 | "Never execute code written on a Friday or | |
61 | a Monday." | |
62 | ||
63 | --------------------------------------------------------------- | |
64 | To unsubscribe, send email to <A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices">majordomo at ender.shadowfire.org</A> | |
65 | with "unsubscribe ircservices" in the body, without the quotes. | |
66 | ||
67 | </PRE> | |
68 | ||
69 | <!--endarticle--> | |
70 | <HR> | |
71 | <P><UL> | |
72 | <!--threads--> | |
73 | <LI>Previous message: <A HREF="000192.html">[IRCServices] what do they think ? | |
74 | </A></li> | |
75 | <LI>Next message: <A HREF="000195.html">[IRCServices] what do they think ? | |
76 | </A></li> | |
77 | <LI> <B>Messages sorted by:</B> | |
78 | <a href="date.html#194">[ date ]</a> | |
79 | <a href="thread.html#194">[ thread ]</a> | |
80 | <a href="subject.html#194">[ subject ]</a> | |
81 | <a href="author.html#194">[ author ]</a> | |
82 | </LI> | |
83 | </UL> | |
84 | ||
85 | </body></html> |