Re: Socket weirdness

Tech-Archive recommends: Fix windows errors by optimizing your registry



Interesting. Is there a managed counterpart?

--
Dave Sexton

"Vadym Stetsyak" <vadym_s@xxxxxxx> wrote in message news:%23CegYl72GHA.4484@xxxxxxxxxxxxxxxxxxxxxxx
Hello, William!

WSM> I guess the bit is not set in a send either - only the ACK. So I
WSM> guess that means you must always do at least two sends (at the client)
WSM> before you will notice a shutdown receive at server.

There is an interesting API in the winsock - WSASendDisconnect/WSARecvDisconnect.
The result is virtually the same as with shutdown, but results in one call...
--
Regards, Vadym Stetsyak
www: http://vadmyst.blogspot.com


.