Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8879275
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T19:54:54+00:00 2026-06-14T19:54:54+00:00

CHANGE: I have determined the problem has nothing to do with the coding. However

  • 0

CHANGE:
I have determined the problem has nothing to do with the coding. However the problem stays still, as this appears to be caused by IRC, I’m still in search of the reason.

The server I’m connecting uses two kinds of PING requests:

One is asked upon connecting to server, and it’s in format of alpha-numeric values of 8 characters.

Example: PING :EA0E9275.

And another one is after the server sends out MOTD, joins channels, completes “End of /NAMES list”. Then after “n delay” server sends me a ping request with current connected host as it’s value.

Example: PING :irc.ams.nl.euirc.net

If I send the command “QUIT :Quit Message” before I reply the host PING request, server ignores the QUIT message, and instead, it quits with a server-filled status message similiar to “Client Exited” message.

Example: ERROR :Closing Link: Nick[IP.ADD.RE.SS] (Life is too short...)

However if I send the same command after responding to host PING request, my QUIT gets processed as it should.

Example: ERROR :Closing Link: Nick[IP.ADD.RE.SS] (Quit: Quit Message)

I’ve checked in the RFC, and found this on QUIT section:

If, for some other reason, a client connection is closed without the client issuing a QUIT command (e.g. client dies and EOF occurs on socket), the server is required to fill in the quit message with some sort of message reflecting the nature of the event which caused it to happen.

Also, if still in need to see the partial code I’m using to accomplish this, you can check it here. However, this is a common issue with mIRC the IRC client.

Basic scheme

  • Connecting to server…
    • Connected!
    • Server waiting NICK/USER info…
    • Server received NICK/USER info, waiting for alphanumeric PING reply…
      • Server received alphanumeric PING reply, sending MOTD.
      • End of MOTD, sending JOIN to join channels…
      • Joined to channels, NAMES list for channels have been requested.
      • End of NAMES list.
    • Receiving active channel(s)/server data.
      • If sent QUIT command, server will ignore the usual QUIT, and will send “Closing Link” by server default as status quit(Life is too short…).
    • Server is doing an alive-check, received host PING(irc.ams.nl.euirc.net), server is waiting reply…
      • Sent server the reply.
      • If sent QUIT command, server will process QUIT command as user-level, the usual way, and will send “Closing Link” by user-specified message or empty.((QUIT: User Message) or (QUIT: ))
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T19:54:55+00:00Added an answer on June 14, 2026 at 7:54 pm

    Let’s review your code for a bit:

    1. When I made my IRC bot, I explode()ed the string from the server into words (splitting by space), you can then refer to words:

      if ($words[0] == "PING") { reply("PONG :" . $words[1]); }
      
    2. Always PONG immediately after PING, and reply with the same message as the server.

    If the second is fulfilled, you should never have that problem of the server waiting a PING, because you’ll immediately answer. A client is expected to honor the PING PONG commands from the server, otherwise the server would think of it as offline (yes, even if you send anything else, the server expects PONG).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I Have site change.is, where right side menu & search bar in header is
I have capture change event on drop down select. This drop down field is
I haven't found a clear answer to this question (but have determined the HTML
I realize this question has been asked many times and I am have looked
I hope this is a simple problem. I have a seekbar that I want
This is the last problem i have with my form (hopefully) What I want
I have one mainactivity in which the location is determined. In this mainactivity I
i have to change a sql mapping in Ibatis an I want to limit
I have a change tracking framework that tracks changed made to domain objects on
I have a change password script in PHP and I want to do is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.