lwip-users
[Top][All Lists]
Advanced

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

[lwip-users] UDP RawAPI Sample?


From: Spies, Dominik
Subject: [lwip-users] UDP RawAPI Sample?
Date: Thu, 14 Jun 2007 09:40:23 +0200

Hallo!

Is there somewhere a simple piece of code which shows how udp connection with the rawapi works?
I read the rawapi.txt but that is very ehm let's say basic..

I managed to recieve a packet and send one, but the packet I sent was not correct.
I created 2 pcb, one recieving one sending? is this correct? or do i just need one? if yes, in what order do I have to call bin, connect and so on?

The packet I sent had a pbuf with size 1 and PBUF_TRANSPORT. What do I have to do to form the packet? Because for example IP-addresses were wrong.. How do I do that?

And last but not least, after recieving about 30 packets, the callback function i registerd isn't called anymore. Also there are no UDP debug messages.

Maybe someone can point me in the right direction.

Regards,
 
Dominik

reply via email to

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