lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-users] How to properly send packets of size greater than snd_buf?


From: bradleytse
Subject: [lwip-users] How to properly send packets of size greater than snd_buf?
Date: Wed, 18 Dec 2013 11:06:47 -0800 (PST)

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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]