Skip to content
Discussion options

You must be logged in to vote

Thanks for the tip. I'm actually relying on Nagle to collect characters one by one (how the emulation works) and when there's a 10ms delay after the last character is buffered - I flush(). Anyway, I've come up with this (it compiles - but it's not tested):

/* Edit library header WiFiClient.h so _client is moved from protected into public
    ClientContext* _client;
protected:
*/
#include <lwip/tcp.h> // We need the structure for tcp_pcb
#include <include/ClientContext.h> // We need the class for getPCB()

static void boostwfc () { // This may need to be called often to reset the two values over time
    tcp_pcb* pcb = wfc._client->getPCB(); // rto and sv = LWIP_TCP_RTO_TIME / TCP_SLOW_INT…

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@earlephilhower
Comment options

Comment options

You must be logged in to vote
2 replies
@XZCE
Comment options

@XZCE
Comment options

Answer selected by XZCE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants