[Mono-list] CookComputing Exceptions & TimeStamp question

2003-12-05 Thread Pablo Fischer
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

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] CookComputing Exceptions & TimeStamp question

2003-12-05 Thread Helge Hess
On Dec 5, 2003, at 9:32 AM, Pablo Fischer wrote:
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?
Sounds a bit like the issue I encountered:
  http://bugzilla.ximian.com/show_bug.cgi?id=50530
(I guess the issue could also come up with non-auth requests)

This is supposed to be fixed in CVS, did not find the time to check 
that though.

regards,
  Helge
--
OpenGroupware.org => http://www.opengroupware.org/
___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list