- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
// connection reset by peer?
if(tcpflags & TCP_FLAG_RST)
{
st->status = TCP_CLOSED;
if( (st->status == TCP_ESTABLISHED) ||
(st->status == TCP_FIN_WAIT) )
{
tcp_closed(id, 1);
}
return;
}
для маленького свечного заводика