UDE

libude
Login

libude

Purpose: how to open a switch connection, move frames and fit libude into an event loop.

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

TODO: Fifteen lines

TODO: URLs

TODO: Event loops

TODO: HELLO and keepalives

TODO: Monitors and management

TODO: Threads and errors

application libude ude_conn udeswitch frames UDP TODO: one connection, frames both ways
A: box "application" fit
L: box "libude" "ude_conn" fit at A + (2.2, 0)
S: box "udeswitch" fit at L + (2.2, 0)
arrow <-> from A.e to L.w "frames" above
arrow <-> from L.e to S.w "UDP" above
text "TODO: one connection, frames both ways" at L + (0, -0.7)