Hi!

It is possible to create a listening UDP connection in uIP, but it is a little tricky. Create a new UDP connection with a remote address of all zeros or all ones (link local broadcast) and a remote port of 0. Bind the connection to a local port with uip_udp_bind(). If you have a cleaner solution, please post it here for acception into the uIP code.

/adam

Johnny Karlsson wrote:
Hi!

From what i gather, uIP doesn’t support listening UDP connections, i’m writing a tftp-server for uIP and i need that functionality. Would a patch (assuming it’s clean and working properly) that enables that functionality in uIP be accepted in the main uIP code?

Best Regards

Johnny Karlsson


--
Adam Dunkels <[EMAIL PROTECTED]>
http://www.sics.se/~adam/

Reply via email to