Home/Support/Support Forum/How can I send or receive UDP packets with a connectcore 6ul pro with yocto?
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

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

0 votes
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?

Thanks
asked Mar 31 in Linux by pablovi96 New to the Community (25 points)

Please log in or register to answer this question.

1 Answer

+1 vote
 
Best answer
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:
https://www.geeksforgeeks.org/udp-server-client-implementation-c/
If this is not enough just google "Linux C UDP example"
answered Mar 31 by LeonidM Veteran of the Digi Community (3,657 points)
selected Mar 31 by pablovi96
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!
...