Re: [Flashcoders] XMLSocket + close()

2006-01-06 Thread Jobe Makar
Hi Weyert, I think that you're supposed to assume it worked. The only time you get the closed event is when its not intiated by the client. BTW, if you use ElectroServer, there is a close event fired through the ElectroServer class no matter what, client-initiated or server-initiated...or

Re: [Flashcoders] XMLSocket + close()

2006-01-06 Thread Weyert de Boer
Hi Jobe, I think that you're supposed to assume it worked. The only time you get the closed event is when its not intiated by the client. Bummer, then we have to assume that indeed! BTW, if you use ElectroServer, there is a close event fired through the ElectroServer class no matter what,

Re: [Flashcoders] XMLSocket + close()

2006-01-06 Thread Chris Allen
Interesting observation Weyert. I always initiate the closing of my socket session through the protocol that I'm using and the server ends the connection. That obviously fires the onClose() event. I had assumed it did that too if the client does closes first, but I guess not. Anyway, thanks for

Re: [Flashcoders] XMLSocket + close()

2006-01-06 Thread Derek Vadneau
it will be the server that closes the connection. Derek Vadneau - Original Message - From: Chris Allen [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Friday, January 06, 2006 12:07 PM Subject: Re: [Flashcoders] XMLSocket + close() Interesting observation Weyert. I

Re: [Flashcoders] XMLSocket + close()

2006-01-06 Thread Weyert de Boer
Chris Allen wrote: Interesting observation Weyert. I always initiate the closing of my socket session through the protocol that I'm using and the server ends the connection. That obviously fires the onClose() event. I had assumed it did that too if the client does closes first, but I guess