7 years, 11 months ago.

How does one create and close a UDP socket with mbed-os ?

Hi,

I am re-writing my TFTP server for mbed-os and I need help on creating, opening and closing a UDP connection.

Best Regards,

...kevin

1 Answer

7 years, 11 months ago.

The UDP protocol is connectionless.

https://en.wikipedia.org/wiki/Connectionless_communication

Fabio Ferrari

Thanks Fabio, but this is not what I am looking for.

I already have a TFTP server for the original mbed code, but I want to modify it to work with mbed-os5. The UDP implementation is a bit different between the two. For example, the original mbed concept of "endpoint" in order to gain access to a remote device no longer exists in mbed-os5.

I just need some example code or a "how to" for UDPSocket.

Regards,

posted by Kevin Braun 05 Dec 2016