# How do I receive UDP data on Connect ME 9210

**URL:** <https://forums.digi.com/t/how-do-i-receive-udp-data-on-connect-me-9210/14578>\
**Category:** NET+OS\
**Tags:** netos, me9210, connect-me\
**Created:** [March 20, 2015, 10:13am UTC](https://forums.digi.com/t/how-do-i-receive-udp-data-on-connect-me-9210/14578 "2015-03-20T10:13:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![simonkbrown](https://avatars.discourse-cdn.com/v4/letter/s/b38774/32.png) [@simonkbrown](https://forums.digi.com/u/simonkbrown)\
**Post date:** [March 20, 2015, 10:13am UTC](https://forums.digi.com/t/how-do-i-receive-udp-data-on-connect-me-9210/14578/1 "2015-03-20T10:13:08Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![LeonidM](https://avatars.discourse-cdn.com/v4/letter/l/d26b3c/32.png) [@LeonidM](https://forums.digi.com/u/LeonidM)\
**Post date:** [March 23, 2015, 6:23pm UTC](https://forums.digi.com/t/how-do-i-receive-udp-data-on-connect-me-9210/14578/2 "2015-03-23T18:23:46Z")

</div>

One example can be found here:  
C:  
etos75\src\examples  
ahttpapplet\udp\_utils.c  
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](https://www.cs.rutgers.edu/~pxk/417/notes/sockets/udp.html)
