|
From: | address@hidden |
Subject: | Re: [lwip-users] invalid recvmbox in UDP recv() function |
Date: | Thu, 11 May 2017 20:56:42 +0200 |
User-agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 |
gussabina wrote:
Ok. But TCP sockets works fine...
Honestly, that doesn't mean anything :-) There can well be other bugs and TCP just happens to work... Where do you have your lwIP port from? Who set up your interrupts and thread configuration?
Actually, in below code I'm using select() to wait for receive data...Now I'm confused...Should I use same approach for UDP?
No. The "socket() ... recv()" scheme should work as well. Simon
[Prev in Thread] | Current Thread | [Next in Thread] |