UDP Source: Difference between revisions

From GNU Radio
Jump to navigation Jump to search
No edit summary
Line 16: Line 16:


== Example Flowgraph ==
== Example Flowgraph ==
This flowgraph can be found at [https://github.com/gnuradio/gnuradio/blob/master/gr-network/examples/test_udp_source.grc]
[[File:Test_udp_source_fg.png]]


== Source Files ==
== Source Files ==

Revision as of 13:41, 8 December 2020

Read stream from an UDP socket. Can be used with UDP Sink 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 source fg.png

Source Files

C++ files
TODO
Header files
TODO
Public header files
TODO
Block definition
TODO