Home/Support/Support Forum/How do I receive UDP data on Connect ME 9210
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

How do I receive UDP data on Connect ME 9210

0 votes
I am trying to implement a similar thing to the Digi Device Discovery, and so am sending my Digi module a UDP packet. I have opened a port on my Digi device to listen for UDP data on the port number I am sending on, but how do I actually see any data that is received?

I've done similar things with TCP, and use the "recv" command to receive data. But this doesn't seem to be working with UDP. Any clues gratefully received.
asked Mar 20, 2015 in NET+OS by simonkbrown New to the Community (2 points)

Please log in or register to answer this question.

1 Answer

0 votes
One example can be found here:
also any socket UDP example on the web should work
see this for example https://www.cs.rutgers.edu/~pxk/417/notes/sockets/udp.html
answered Mar 23, 2015 by LeonidM Veteran of the Digi Community (3,622 points)