With these routines it is very easy to write a server, have it accept connections on multiple ports via IP4, IP6 or unix sockets and associate each of these bindings with a server routine.