WIZnet Developer Forum

[TCP Send Error] explanation?

Hi,

one of our socket is used to send some PUSH TCP request to a server.
configured as "0/TCN/192.168.0.116:80/30789/0"
most of time, all work great !
but some time to time we receive [TCP Send Error] !

AT+SSEND=0,818
receive right [0,818]
then sometime [TCP Send Error]

what does it mean exactly ? the wiki give not too much information about this answer !

(fw 1.0.5.2)

thanks, regards

Hello,

I’m so sorry for late reply.
If [TCP Send Error] message occurs, it is expected that it occurs because ACK is not received due to timeout in receiving ACK after TCP send.
“TCP send error timeout” is set to 5seconds by defualt.
The following is AT Command “AT+FSOCK” related to this case.
http://wizwiki.net/wiki/doku.php?id=products:wizfi250:wizfi250pg:start#at_fsock
Check it and make sure that “AT + FSOCK = 1,0” works well.
For your information, “AT+FSOCK=1,0” is function that wait until you receive ACK.

Thanks, regards.

so what do i need to do when i receive this message ?
just restart the whole process to send again the same documents/data ?
does it closed or modify anything in the TCP socket server ?

thanks, regards

Hello,

That command is just change the socket setting, so please reopen socket.

Best regards.

Copyright © 2017 WIZnet Co., Ltd. All Rights Reserved.