How am I supposed to send packets of size greater than the pcb's snd_buf? Right now my snd_buf is 8192 bytes, but the packets I am sending can be ~150kb. I know that one of the suggested methods is to return control to main, and then use the tcp_poll callback function to finish sending the data once the snd_buf has cleared, but this method is way too slow and I cannot afford to wait like this. I need to force the whole packet to send right away (or at least as fast as the receive can receive).
I have tried using tcp_nagle_disable() and then tcp_output() but this does not work. The snd_buf still does not clear out. Any suggestions? I'm stumped at the moment. -- View this message in context: http://lwip.100.n7.nabble.com/How-to-properly-send-packets-of-size-greater-than-snd-buf-tp22109.html Sent from the lwip-users mailing list archive at Nabble.com. _______________________________________________ lwip-users mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/lwip-users
