britram / python-ipfix

IPFIX implementation for Python 3.x
GNU Lesser General Public License v3.0
41 stars 20 forks source link

Add UDP support to ipfix.writer.MessageStreamWriter #22

Open nickbroon opened 7 years ago

nickbroon commented 7 years ago

UDP is still the most common protocol understood by collectors.

britram commented 7 years ago

Does this not Just Work if you pass a bound UDP socket to writer.to_stream()? The writer and message modules were designed to always write once per message, which should cause the transmission of a single UDP datagram containing the message.