UDE

libude-udp
Login

libude-udp

Purpose: UDP sockets on an IPv4 interface, with the echo-server example.

Template. An essay with examples, not a copy of the header: replace each TODO with prose. Every function is in libude-udp(3) and include/ude_udp.h.

TODO: An echo server in 20 lines

TODO: Ports and checksums

TODO: Before an address exists

ude_udp port 7 ude_ipv4 TODO: datagrams arrive in a callback
U: box "ude_udp" "port 7" fit
I: box "ude_ipv4" fit at U + (0, -1.0)
arrow <-> from U.s to I.n
text "TODO: datagrams arrive in a callback" at U + (2.2, -0.5)