Hello:
I'm using lwIP with FreeRTOS and I need to receive data via UDP. I'm testing
the following code which goes through until recv() function where it stucks
in the following line;
LWIP_ERROR("netconn_accept: invalid recvmbox",
sys_mbox_valid(&conn->recvmbox), return ERR_CONN;);
inside netcon
Thank you, Simon.
Where can I download v .2?
Gus
--
View this message in context:
http://lwip.100.n7.nabble.com/invalid-recvmbox-in-UDP-recv-function-tp29602p29618.html
Sent from the lwip-users mailing list archive at Nabble.com.
___
lwip-users mai
Thanks, Simon.
I will update and also try to debug it...
Is the recvmbox supposed to be created by bind() function? According to the
error message, this is not valid/existing when checked by the the recv()
function..
Thanks
Gus
--
View this message in context:
http://lwip.100.n7.nabble.com/in
Ok. But TCP sockets works fine...Below is the code I'm using for TCP receive.
Actually, in below code I'm using select() to wait for receive data...Now
I'm confused...Should I use same approach for UDP?
Thanks;
Gus
/int SocketRead(void *context, byte* buf, int buf_len, int timeout_ms)
{
Hello:
I noticed the tcp_connect() function always use the same local (ephemeral)
port, rather than choosing a random port from a range of available ports.
This causes problem connecting to the same server as they might think it's
part of the previous connection if not closed properly.
I already