Listen for incoming connections and pass clients to a handler function.
Instantiate a TCPListener object.
Listen for client requests.
API = The class containing the methods for the server to execute.
See Implementation
Listen for incoming connections and pass clients to a handler function.