# UDP Source and Sink = "Straight" UDP

**URL:** <https://www.ruby-forum.com/t/udp-source-and-sink-straight-udp/242216>\
**Category:** GNU Radio\
**Created:** [June 4, 2015, 10:53pm UTC](https://www.ruby-forum.com/t/udp-source-and-sink-straight-udp/242216 "2015-06-04T22:53:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Detlef\_R](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/58f4c7/32.png) [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Post date:** [June 4, 2015, 10:53pm UTC](https://www.ruby-forum.com/t/udp-source-and-sink-straight-udp/242216/1 "2015-06-04T22:53:24Z")

</div>

Hello,

I just wanted to confirm that the UDP Source and Sink blocks just “chop  
up”  
the data to fit inside the payload buffer (who’s size is determine by  
the  
PAYLOAD\_SIZE attribute) and do not handle “extra” things in the  
application  
layer like reordering of packets received out of order or resending  
packets  
in the event that data is dropped.

Stated differently, the UDP Source and Sink are “vanilla” UDP and don’t  
have any additional features added in the application layer, correct?

Thanks in advance for the help.

---

<div class="post-metadata">

**Author:** ![woodzer](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/f08c70/32.png) [@woodzer](https://www.ruby-forum.com/u/woodzer)\
**Post date:** [June 4, 2015, 11:37pm UTC](https://www.ruby-forum.com/t/udp-source-and-sink-straight-udp/242216/2 "2015-06-04T23:37:13Z")

</div>

Hi Peter,  
that’s an easy one to answer:

> correct?  
> yes; refer to gr-blocks/lib/udp\_sink\_impl.cc .

Best regards,  
Marcus
