|
-
May 9th, 2013, 08:25 AM
#1
Thread Starter
New Member
Endreceive when Formclosing is intiated
Hi,
I am programming a server-client socket software. On client side, when I click on the close window at the right upper side [X] Formclosing is initiated. I want to send to the server some information about disconnecting socket. My problem is that the client is in receiving state and I need to stop receiving state by calling socket.endreceive. I can't do that in Formclosing cause It need IASyncResult object that is not accessible.
Is there a way to achieve that?
many thanks.
Patrice
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|