Disconnecting with OpenTCP

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Disconnecting with OpenTCP

1,934件の閲覧回数
Victor125
Contributor I
 
Hi, I develop an application with NE64 and OpenTCP. I just connect from a PC, NE64 sends data and PC close the connection but NE64 don't close connection immediately. It took about 2-3 seconds in close the connection by timeout. It's normal?
 
Can anyone help me ?
 
Victor
ラベル(1)
0 件の賞賛
返信
1 返信

762件の閲覧回数
JimDon
Senior Contributor III
In general, this is normal for TCP.

Usually it is longer than this - its called linger and it is to allow any stray packets on the net to arrive so that the local port number does not get reused and receive packets from the previous connection. Usually there is an option to turn it off NO_LINGER, but you shouldn't - its there for a reason.
0 件の賞賛
返信