Compile with socket server.