1 <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 3.2//EN">
4 <TITLE> [IRCServices] PING before connect?
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">
13 <BODY BGCOLOR=
"#ffffff">
14 <H1>[IRCServices] PING before connect?
</H1>
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
19 <I>Fri Apr
29 12:
29:
54 PDT
2005</I>
21 <LI>Previous message:
<A HREF=
"004937.html">[IRCServices] NSRequireEmail Question
23 <LI>Next message:
<A HREF=
"004969.html">[IRCServices] PING before connect?
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>
34 <PRE>Whilst testing a new module we are currently developing, we decided (to
35 save time), to connect IRCServices across the internet, rather than locally.
37 We ran into the problem of services sending a PING to the remote server
38 BEFORE it was connected, resulting in an ENOTCONN, and Services bailing.
40 Surely the correct behaviour for this, is that services shouldn't
41 attempt to ping, untill at least the SERVER command has been sent on
42 initial connect? Would avoid this issue.
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
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
57 On an un-related note.. is the coding mailing list down? the last mail i
58 sent to it never arrived :/
61 /****************************************
62 * Craig
"FrostyCoolSlug
" 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 ****************************************/
76 <LI>Previous message:
<A HREF=
"004937.html">[IRCServices] NSRequireEmail Question
78 <LI>Next message:
<A HREF=
"004969.html">[IRCServices] PING before connect?
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>