What would the system do when FIN is recv while there's still data in socket send buffer?
<p>Currently I am suffering from a strange problem.</p>

<p>So I am wondering what will be happened.</p>

<p>Say there's a TCP connection and the socket send buffer has 10 bytes of data, then a FIN is recv, which of the packets will be replied?</p>

<p>A. an ACK with 10 bytes of data</p>

<p>B. an ACK with none of byte and an other ACK with 10 bytes</p>

<p>C. either of above</p>