slimDNS.server

slimDNS.server(mode=2, *args, **kwargs)

server() is essentially just a router. It creates a instance of a selected mode (either TCP or UDP). It also saves the instance in a shared instance variable for access later.