[Mono-list] CookComputing Exceptions & TimeStamp question

Pablo Fischer pablo@pablo.com.mx
Fri, 05 Dec 2003 02:32:48 -0600


Hi!

Well as somebody knows and somebody dont :), Im creating mBloggy (a gtk#
client to connect to a blog and post/remove/edit posts), today I can do
all of that :), but I'm making it easier for the 'end-users', ok.. The
question..

I've been testing and looking for all the posibles Exceptions in
CookComputing.XmlRpc, However I have a problem, If I don't edit/post or
something to the site, simply.. my app hangs with a *nice* message in
the terminal (message.. NOT Exception):

nread == 0: may be the connection was closed?


So, somebody knows how to 'catch' this type of messages?.. Also, I have
another Idea but I don't know how to do this:

Create a DateTime (or TimeStamp) object every time I connect, and BEFORE
doing other thing (such as editing/deleting/posting) check that
TimeStamp with a 'current' one, and check the difference in seconds..
How can I do this?.

Thanks!
Pablo
-- 
Pablo Fischer Sandoval (pablo [arroba/at] pablo.com.mx)
http://www.pablo.com.mx
http://www.debianmexico.org
GPG FingerTip: 3D49 4CB8 8951 F2CA 8131 AF7C D1B9 1FB9 6B11 810C
Firma URL: http://www.pablo.com.mx/firmagpg.txt