This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

RL TCPNet for large packets

Hello,

I'm using RL-TCPnet with RTX in order to develop an Modbus TCP application. Everything works fine until the application tries to send some packet greater than 1460 bytes of data.

I'm using tcp_max_dsize and tcp_send to handle the response packets, but tcp_send only accepts packets up to 1460 bytes. When I tried to split the big packet in smaller chuncks of data the tcp_send functions returned FALSE after the first packet had been sent.

I belive that TCP stack should handle large packets and split then when its size are greater than maximum packet size.

Should I use other function?

Is there a better way to send large bunch of data using tcp sockets?

My MDK is 4.7.

Best regards.