--- /dev/null
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
+<HTML>
+ <HEAD>
+ <TITLE> [IRCServices] PING before connect?
+ </TITLE>
+ <LINK REL="Index" HREF="index.html" >
+ <LINK REL="made" HREF="mailto:ircservices%40ircservices.esper.net?Subject=%5BIRCServices%5D%20PING%20before%20connect%3F&In-Reply-To=">
+ <META NAME="robots" CONTENT="index,nofollow">
+ <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
+ <LINK REL="Previous" HREF="004937.html">
+ <LINK REL="Next" HREF="004969.html">
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <H1>[IRCServices] PING before connect?</H1>
+ <B>Craig McLure</B>
+ <A HREF="mailto:ircservices%40ircservices.esper.net?Subject=%5BIRCServices%5D%20PING%20before%20connect%3F&In-Reply-To="
+ TITLE="[IRCServices] PING before connect?">Craig at frostycoolslug.com
+ </A><BR>
+ <I>Fri Apr 29 12:29:54 PDT 2005</I>
+ <P><UL>
+ <LI>Previous message: <A HREF="004937.html">[IRCServices] NSRequireEmail Question
+</A></li>
+ <LI>Next message: <A HREF="004969.html">[IRCServices] PING before connect?
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#4938">[ date ]</a>
+ <a href="thread.html#4938">[ thread ]</a>
+ <a href="subject.html#4938">[ subject ]</a>
+ <a href="author.html#4938">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>Whilst testing a new module we are currently developing, we decided (to
+save time), to connect IRCServices across the internet, rather than locally.
+
+We ran into the problem of services sending a PING to the remote server
+BEFORE it was connected, resulting in an ENOTCONN, and Services bailing.
+
+Surely the correct behaviour for this, is that services shouldn't
+attempt to ping, untill at least the SERVER command has been sent on
+initial connect? Would avoid this issue.
+
+Log:
+
+[Apr 29 22:01:54.046189 2005] debug: Loaded modules
+[Apr 29 22:01:54.049901 2005] Initiated connection to xx.xxx.xxx.xxx:7025
+[Apr 29 22:01:54.052287 2005] sockets: flush_write_buffer(4): Socket is
+not connected
+[Apr 29 22:01:54.053649 2005] debug: Sent: PING
+:<i>services-dev.chatspike.net
+</I>[Apr 29 22:01:57.059300 2005] debug: Saving databases
+[Apr 29 22:01:57.071440 2005] Read error from server: Socket is not
+connected
+
+--
+On an un-related note.. is the coding mailing list down? the last mail i
+sent to it never arrived :/
+
+--
+/****************************************
+ * Craig "FrostyCoolSlug" McLure
+ * <A HREF="http://lists.ircservices.za.net/mailman/listinfo/ircservices">Craig at FrostyCoolSlug.com</A>
+ * InspIRCd - <A HREF="http://www.inspircd.org">http://www.inspircd.org</A>
+ * ChatSpike - <A HREF="http://www.chatspike.net">http://www.chatspike.net</A>
+ ****************************************/
+
+</PRE>
+
+
+
+<!--endarticle-->
+ <HR>
+ <P><UL>
+ <!--threads-->
+ <LI>Previous message: <A HREF="004937.html">[IRCServices] NSRequireEmail Question
+</A></li>
+ <LI>Next message: <A HREF="004969.html">[IRCServices] PING before connect?
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#4938">[ date ]</a>
+ <a href="thread.html#4938">[ thread ]</a>
+ <a href="subject.html#4938">[ subject ]</a>
+ <a href="author.html#4938">[ author ]</a>
+ </LI>
+ </UL>
+
+</body></html>