As easy as this:
echo -n "hello" >/dev/udp/localhost/8000
Linux kernel do the rest.
__ ___
/\ \ /\_ \
___ \ \ \____ \//\ \ ___ __
/' _ `\ \ \ '__`\ \ \ \ / __`\ /'_ `\
|/\ \/\ \ \ \ \L\ \ \_\ \_ /\ \L\ \/\ \L\ \
\ \_\ \_\ \ \_,__/ /\____\\ \____/\ \____ \
\/_/\/_/ \/___/ \/____/ \/___/ \/___L\ \
/\____/
\_/__/
As easy as this:
echo -n "hello" >/dev/udp/localhost/8000
Linux kernel do the rest.
Tags