Implement a socket server interface