Anetd listens on TCP and UDP ports (default 3322) and accepts ANEP  encapsulated packets. If the type ID in the ANEP packet header is of the type assigned to Anetd by ANANA (type 51), the ANEP payload is parsed and Anetd control commands are executed. A client application, called sc, allows the user to send commands to Anetd. The commands are signed using public key cryptography and are encapsulated in ANEP packets. Although the sc application embeds its commands in ANEP packets, it uses as default transport protocol TCP, to obtain automatic retransmission of lost packets.
[Here we should put a picture describing the various forwarding and demultiplexing actions that take place depending on the ANEP id.]