Stuff with socket server.