© Copyright 2012 WIZnet Co., Ltd. All rights reserved.
W
W
5
5
3
3
0
0
0
0
E
E
r
r
r
r
a
a
t
t
a
a
S
S
h
h
e
e
e
e
t
t
For more information, visit our website at http://www.wiznet.co.kr
In TCP Mode, Sn_SSR(Socket status register)value does not change
from "0x10" or "0x11" during the TCP connection process.
When the user executes "SEND" command, the user should stay in a
waiting state until it receives "SEND_OK" interrupt message
1
. However, when
the user executes "CLOSE" or "DISCONNECT" command to terminate the
connection during this waiting state, TCP Connection Establishment fails for
Socket status register(Sn_SSR)'s fixed value from "0x10" or "0x11".
Insert the following code when the connection is shut manually before the
completion of data transfer (or must insert the following code in CLOSE()
function)
This will release the data transmission process from pending state.
Occasionally, it takes some time to resolve this incomplete process. TCP would be in an
incomplete data transmission process state when the destination window size is smaller than
the data size being transmitted. Then TCP stays in a pending state until the receiver's window
size becomes large enough.