how to a fin when close a socket RRS feed

  • Question

  • the method to close a socket provided by msdn is to delete the Socket Object, but I find when it call close, the remote receive a RST not a FIN, for a concrete saying, I means if the remote peer blocks in a read, the close operation should make it receive a 0 number, but it receive a  -1 number actually, so I want to know how can I send a FIN when close a socket?


    Tuesday, July 31, 2012 7:07 AM


All replies