void bind(String address, int port) async { _mainSocket = await ServerSocket.bind(address, port); _mainSocket.listen((newSocket) { _schedule(newSocket); }); }