G
Guest
Hi
I am using the BeginConnect function on my socket but I am not exactly sure
how I am supposed to clean up after this call.
After the connecion attempt has completed I call EndConnect passing in the
IAsyncResult I received from the BeginConnect and then I close the socket.
However when I look in Task Manager the handle count for my program goes up
everytime I run this function. I tried closing the AsyncWaitHandle of the
IAsyncResult too but that didn't seem to help either.
Thanks in Advance
Peter Chapman
I am using the BeginConnect function on my socket but I am not exactly sure
how I am supposed to clean up after this call.
After the connecion attempt has completed I call EndConnect passing in the
IAsyncResult I received from the BeginConnect and then I close the socket.
However when I look in Task Manager the handle count for my program goes up
everytime I run this function. I tried closing the AsyncWaitHandle of the
IAsyncResult too but that didn't seem to help either.
Thanks in Advance
Peter Chapman