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