Today's fun fact:
If you're on Windows XP, and you have a TCP socket, and you have set SO_SNDBUF to 0 in order to do your own sender buffering, and you have called WSASend to start an overlapped send operation and Windows has called your callback stating the the send succeeded, and the other end of the socket is on the same machine, and that other end has not yet read the data you wrote, and you then call shutdown() to close the sending end of the socket, then the connection will be reset!
It works fine if you never touch SO_SNDBUF at all. But it doesn't help to set SO_SNDBUF to a nonzero value only just before shutdown()...
Very interesting info !Perfect just what I was looking for!
ReplyDeleteHere is my web page
스포츠토토티비
스포츠토토
Thanks for sharing the information keep updating, looking forward to more post.
ReplyDeleteNice post ! I love its your site after reading ! thanks for sharing. I would like to use the ability of saying thanks to you for that professional guidance I have usually enjoyed checking out your site.
Divorce Lawyers LoudounVA
Divorce Lawyers Great Falls VA
This article is very informative and i had a great time reading post. Thank you for sharing. Uncontested Divorce Lawyer Fairfax
ReplyDelete