]> jfr.im git - irc.git/blob - software/!RELEASES/ircservices/achurch.org/services/lists/ircservices/2005/004969.html
RELEASE -> !RELEASE
[irc.git] / software / !RELEASES / ircservices / achurch.org / services / lists / ircservices / 2005 / 004969.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
2 <HTML>
3 <HEAD>
4 <TITLE> [IRCServices] PING before connect?
5 </TITLE>
6 <LINK REL="Index" HREF="index.html" >
7 <LINK REL="made" HREF="mailto:ircservices%40ircservices.esper.net?Subject=%5BIRCServices%5D%20PING%20before%20connect%3F&In-Reply-To=42728B32.2030508%40frostycoolslug.com">
8 <META NAME="robots" CONTENT="index,nofollow">
9 <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
10 <LINK REL="Previous" HREF="004938.html">
11 <LINK REL="Next" HREF="004939.html">
12 </HEAD>
13 <BODY BGCOLOR="#ffffff">
14 <H1>[IRCServices] PING before connect?</H1>
15 <B>Andrew Church</B>
16 <A HREF="mailto:ircservices%40ircservices.esper.net?Subject=%5BIRCServices%5D%20PING%20before%20connect%3F&In-Reply-To=42728B32.2030508%40frostycoolslug.com"
17 TITLE="[IRCServices] PING before connect?">achurch at achurch.org
18 </A><BR>
19 <I>Fri May 6 11:11:32 PDT 2005</I>
20 <P><UL>
21 <LI>Previous message: <A HREF="004938.html">[IRCServices] PING before connect?
22 </A></li>
23 <LI>Next message: <A HREF="004939.html">[IRCServices] test
24 </A></li>
25 <LI> <B>Messages sorted by:</B>
26 <a href="date.html#4969">[ date ]</a>
27 <a href="thread.html#4969">[ thread ]</a>
28 <a href="subject.html#4969">[ subject ]</a>
29 <a href="author.html#4969">[ author ]</a>
30 </LI>
31 </UL>
32 <HR>
33 <!--beginarticle-->
34 <PRE> Fixed, thanks for the report.
35
36 --Andrew Church
37 <A HREF="http://lists.ircservices.za.net/mailman/listinfo/ircservices">achurch at achurch.org</A>
38 <A HREF="http://achurch.org/">http://achurch.org/</A>
39
40 &gt;<i>Whilst testing a new module we are currently developing, we decided (to
41 </I>&gt;<i>save time), to connect IRCServices across the internet, rather than locally.
42 </I>&gt;<i>
43 </I>&gt;<i>We ran into the problem of services sending a PING to the remote server
44 </I>&gt;<i>BEFORE it was connected, resulting in an ENOTCONN, and Services bailing.
45 </I>&gt;<i>
46 </I>&gt;<i>Surely the correct behaviour for this, is that services shouldn't
47 </I>&gt;<i>attempt to ping, untill at least the SERVER command has been sent on
48 </I>&gt;<i>initial connect? Would avoid this issue.
49 </I>&gt;<i>
50 </I>&gt;<i>Log:
51 </I>&gt;<i>
52 </I>&gt;<i>[Apr 29 22:01:54.046189 2005] debug: Loaded modules
53 </I>&gt;<i>[Apr 29 22:01:54.049901 2005] Initiated connection to xx.xxx.xxx.xxx:7025
54 </I>&gt;<i>[Apr 29 22:01:54.052287 2005] sockets: flush_write_buffer(4): Socket is
55 </I>&gt;<i>not connected
56 </I>&gt;<i>[Apr 29 22:01:54.053649 2005] debug: Sent: PING
57 </I>&gt;:<i>services-dev.chatspike.net
58 </I>&gt;<i>[Apr 29 22:01:57.059300 2005] debug: Saving databases
59 </I>&gt;<i>[Apr 29 22:01:57.071440 2005] Read error from server: Socket is not
60 </I>&gt;<i>connected
61 </I>&gt;<i>
62 </I>&gt;<i>--
63 </I>&gt;<i>On an un-related note.. is the coding mailing list down? the last mail i
64 </I>&gt;<i>sent to it never arrived :/
65 </I>&gt;<i>
66 </I>&gt;<i>--
67 </I>&gt;<i>/****************************************
68 </I>&gt;<i> * Craig &quot;FrostyCoolSlug&quot; McLure
69 </I>&gt;<i> * <A HREF="http://lists.ircservices.za.net/mailman/listinfo/ircservices">Craig at FrostyCoolSlug.com</A>
70 </I>&gt;<i> * InspIRCd - <A HREF="http://www.inspircd.org">http://www.inspircd.org</A>
71 </I>&gt;<i> * ChatSpike - <A HREF="http://www.chatspike.net">http://www.chatspike.net</A>
72 </I>&gt;<i> ****************************************/
73 </I>&gt;<i>
74 </I>&gt;<i>------------------------------------------------------------------
75 </I>&gt;<i>To unsubscribe or change your subscription options, visit:
76 </I>&gt;<i><A HREF="http://lists.ircservices.za.net/mailman/listinfo/ircservices">http://lists.ircservices.za.net/mailman/listinfo/ircservices</A>
77 </I></PRE>
78
79 <!--endarticle-->
80 <HR>
81 <P><UL>
82 <!--threads-->
83 <LI>Previous message: <A HREF="004938.html">[IRCServices] PING before connect?
84 </A></li>
85 <LI>Next message: <A HREF="004939.html">[IRCServices] test
86 </A></li>
87 <LI> <B>Messages sorted by:</B>
88 <a href="date.html#4969">[ date ]</a>
89 <a href="thread.html#4969">[ thread ]</a>
90 <a href="subject.html#4969">[ subject ]</a>
91 <a href="author.html#4969">[ author ]</a>
92 </LI>
93 </UL>
94
95 </body></html>