[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] stm32: do I have to call tcp_write() even on error?
From: |
Kieran Mansley |
Subject: |
Re: [lwip-users] stm32: do I have to call tcp_write() even on error? |
Date: |
Tue, 19 Jun 2012 20:17:54 +0100 |
On 7 Jun 2012, at 18:11, bruzzi wrote:
> I impelmented modbus over tcp using LwIP library. In case of modbus protocol
> error i don't call tcp_write() function, is that correct?
I'm not sure - that's really up to what behavior the modbus protocol dictates
(and I know nothing about modbus), but assuming an error means that you
couldn't decode the message then doing nothing in reply seems reasonable.
Kieran