[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xchat-perl
Subject:    detecting disconnect and reconnect from servers?
From:       bboett () bboett ! dyndns ! org (Bruno Boettcher)
Date:       2002-07-09 17:28:24
[Download RAW message or body]

Hello!

i am a bit unsure about how to detect conenction and disconnection from
server.... i want to be able to track server changes....

my script need to  use command with server for differred actions, so it
need the correct acutal server...

if anyone has a hint, or allready usable code.... other thing would be:

if there is a way to know when xchat has connected all servers in the
autoconnect (didn't found anything about that, just using a long timeout
    hoping that all were connected...), parse the connected server list,
assign symbolic names to the associated server tabs, making a list of
the references to those tabs (again how??) and be able to
request from them the actual server name, something in the possibilities
of realm?

i am still using the latest 1.8 xchat client BTW and the autoclose of
the tabs still crashes the client (that's just a reminder :D) meaning
that the race condition about memory freeing concerning a tab isn't
solved....

-- 
ciao bboett
==============================================================
bboett@adlp.org
http://inforezo.u-strasbg.fr/~bboett
===============================================================
--
XChat-perl:    mailing list for XChat perl scripters
Archive:       http://mail.nl.linux.org/xchat-perl/

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic