How can I send or receive UDP packets with a connectcore 6ul pro with yocto?

Hi everyone,

I have a connectcore 6 ul sbc pro with yocto and I want to send and receive packets through UDP protocol. How can I send the packets and how can I receive and read? is there any way to make an application to do this?


Yocto is a standard Linux with standard Linux TCP/IP stack.
There so many examples of what you want to do online. Start with this one:
If this is not enough just google “Linux C UDP example”

1 Like

ok. Do you know if there is any example like this but in python. I am working in other applications in python and I prefer to use the same enviroment for everthing.
Thank you very much!

how about this one:
or this example: