DEST_IP();
Sorry about that, it is a private wrapper using IP4_ADDR to set
destination to my lab peecee. oops, my mistake.
I don't see any errors, do you check return codes (just in case...) ?
Try using IP_ADDR_ANY, we can see why later if it works.
--
Sergio R. Caprile, Human
Think you for your answer !
i'm using IP4_ADDR(,x,y,z,w); to format my IPs to ip_addr_t.
What's the purpose of DEST_IP(); ?
I'm not using IP_ADDR_ANY, in TCP we could put "NULL" and LWIP would replace it
by the IP of the default netif. In UDP i want the IP of the default netif also,
so i put
It shouldn't
Check your code against the docs or the wiki
http://lwip.wikia.com/wiki/Raw/UDP
My code is something like:
mypcb = udp_new() != NULL
DEST_IP();
// for SPECIFIC other end IP address
udp_connect(mypcb, , DEST_PORT) == ERR_OK
// otherwise, to connect to anyone
Hi,
It seems that when i recieve an UDP message, the UDP input function doesn't
find the pcb matching with the message recieved.
I have a client that use POSIX socket on my computer and a server that use LWIP
on a remote equipment. I already have a raw tcp echo working.
I've used a simple