Difference between revisions of "UDP Sink"

From GNU Radio
Jump to: navigation, search
(Example Flowgraph)
(Source Files: Updated source links)
Line 24: Line 24:
  
 
; C++ files
 
; C++ files
: [https://github.com/gnuradio/gnuradio TODO]
+
: [https://github.com/gnuradio/gnuradio/blob/master/gr-network/lib/udp_sink_impl.cc 1]
  
 
; Header files
 
; Header files
: [https://github.com/gnuradio/gnuradio TODO]
+
: [https://github.com/gnuradio/gnuradio/blob/master/gr-network/lib/udp_sink_impl.h 2]
  
 
; Public header files
 
; Public header files
: [https://github.com/gnuradio/gnuradio TODO]
+
: [https://github.com/gnuradio/gnuradio/blob/master/gr-network/include/gnuradio/network/udp_sink.h TODO]
  
 
; Block definition
 
; Block definition
: [https://github.com/gnuradio/gnuradio TODO]
+
: [https://github.com/gnuradio/gnuradio/blob/master/gr-network/grc/network_udp_sink.block.yml 3]

Revision as of 08:20, 18 December 2020

Write stream to an UDP socket. Can be used with UDP Source from another flowgraph or just an external application.

Parameters

IP Address
The name or IP address of the transmitting host; can be NULL, None, or "0.0.0.0" to allow reading from any interface on the host
Port
The port number on which to receive data; use 0 to have the system assign an unused port number
Payload Size
UDP payload size by default set to 1472 = (1500 MTU - (8 byte UDP header) - (20 byte IP header))
Null Packet is EOF
Interpret zero-length packet as EOF (default: true)

Example Flowgraph

This flowgraph can be found at [1]

Test udp sink fg.png

Source Files

C++ files
1
Header files
2
Public header files
TODO
Block definition
3