Rens van Leeuwen wrote: > On Jun 8, 2006, at 7:37 PM, Jochem van Dieten wrote: > >>> and (re)open the existing connection >> If closing fails, you can't reopen it. > > Not true. > > If something *is* closed, and you *try* to close it, you can open it > after your (failed) attempt to close it.
Hmm .. now that I read it back, it seems you were talking about the specific situation of sockets (on the client side), and I was talking about 'things' in general. My bad. <snap /> >> Start a brand new connection whenever you are disconnected and >> use that until you are disconnected again. > > Yup, that's what I'm trying now .. It wasn't nice, but this approach seems to work for now. Time will tell if I made myself a nice racing-condition-setup. Thanks all for your valuable input :) Rens ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:243015 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

