Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5380

SDK • Re: Pico W generates error after using TCP for a while

$
0
0
Just thinking out loud here. Right now the output written to telnet TCP is unbuffered. I just have that wait if the buffer to full for the next message. I could buffer all the data and send larger packets. Problem is how to I make sure the send buffer is empty if no more data is being sent? I have a FIFO on the input but it's not really suited for output since that's more than one byte at a time.
I've not noticed any of these issues with TCP. It sounds more like something in your code is going out of bounds and overwriting LWIP state which is making it blow up. Fix that before coming up with elaborate workarounds to mask the problem.

Statistics: Posted by trejan — Thu Dec 07, 2023 7:59 pm



Viewing all articles
Browse latest Browse all 5380

Trending Articles