Hi,
just tested out the tcp-modbus pack, but it seems to hang almost every time on short data or bad data.
Seems to happen here:
xMBTCPPortSendResponse(const UCHAR *pucMBTCPFrame, USHORT usTCPLength)
-> tcpserver_send(mb_client, (void *)pucMBTCPFrame, usTCPLength, 0)
-> send(client->sock, buf, size, 0)
-> sal_sendto(socket, dataptr, size, flags, NULL, 0)
and finally never returns form here:
pf->skt_ops->sendto((int) sock->user_data, dataptr, size, flags, to, tolen)
in sal_socket.c
br. Mike