lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] UDP-server not working!


From: Marcos Guerra Medina
Subject: Re: [lwip-users] UDP-server not working!
Date: Sun, 31 Jul 2011 23:53:11 +0100

you need to implemented this code:

udp -> myUDPrcv:
udp -> IP_ADDR_ANY;
udp -> 1338;

2011/7/31 Kai Parow-Souchon <address@hidden>
Hey!

I'm trying to get a simple UDP-server to work on an LM3S8538 stellaris arm.

TCP works great, but my UDP server initialized by:

pcb = udp_new();
udp_bind(pcb, IP_ADDR_ANY, 1338);

udp_recv(pcb, myUDPrcv, NULL);

always returns ICMP "destination unreachable (port unreachable)" messages when I try to send a package to it.

In die config file I only defined LWIP_UDP - is there anything else that needs to be configured?

I don't have any idea left to try...it's really simple but still doesn't work ;)

Any suggestions or anything I can try or have a look at are welcome,
Thanks,
Kai

_______________________________________________
lwip-users mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/lwip-users


reply via email to

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