Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
You do not have the correct permissions to perform this operation. Please, contact us at support@mbed.com to gain full access.
×
I have an interesting problem where I need to transmit TCP packets deterministically rather than whenever the tcp/ip stack gets around to sending the packet. I haven't been able to accomplish this using Netservices but I would really like to. I have used the lwip library directly and I am able to send tcp packets at 10hz exactly with the data I need in each packet using the tcp_write followed by a tcp_output. However in Netservices there is no access to tcp_write and tcp_output directly. Does anyone know where I can start to modify the Netservices library to gain direct access to tcp_write and tcp_output ? I have tried hard at this and just can't figure it out. I have played with options in lwipopts.h and the best I could do was set the TCP_MSS to 10 (my max packet size) which kind of works, the packets are no larger than 10 bytes but they don't get transmitted immediately, they are still queued up somewhere.
I would really like to use Netservices for this project, I just need access to tcp_write and tcp_output.
Thanks,
Errol