in reply to Re: IRCbot - ping
in thread IRCbot - ping

Okay.. I just read my question through some times, and I can see it look like a 'Newbie hackerquestion', but thats not my intension. The reason is that we have a ircchanal with over 20 members, but because we have the chanal on our own line and dont accept "Away" or "Deaduser". We want to could ping them all, and see if thay are alive. And then I got the idear, instead of pinging one person at the time, we could ping them all at the same time, but do then I thought I needed a bigger packetsize!? I dont hope you now wont to help me, and don not think that im a wonnabehacker. Regards

Replies are listed 'Best First'.
Re^3: IRCbot - ping
by Forsaken (Friar) on May 26, 2005 at 17:01 UTC
    An IRC server will automatically kill a connection if the client fails to respond to the ping message, so no need for the channel manager to worry about that. People that are set to "away" will be reported as such by the server when whoissed. So truth be told I really can't think of a reason why you'd need to ping people in this instance.

    If you *really* want to ping people you could use ctcp ping as implemented on top of the irc protocol. Most clients will respond to these pings, although some might not, that's the downside.


    Remember rule one...
      Okay, I see.. Im not the geek to IRC, just the programmer and I got the job to make it. Now I can stop and relaze. Thank you anyway.. Chill..