i'm trying to develop a tcp client to make a modbus client. My idea is to start from a workin tcp client, edit layer 2 writing modbus protocol that i just develop in serial rtu mode.
Navigating in example projects (sdk 2.5.1) i can't find any tcp client, only servers. My knowledge for lwip is very low and i'm not able to edit server application layer to make a client. Client request implementing pool table, pool time, opening connections, manage lost connections, etc, i don't how to manage interface with other layer in lwip.
There is some giudelines to do it?
Thanks in advice