Open WanderingTurtle opened 1 month ago
Same error if one copies this example:
final serverSocket = await ServerSocket.bind('localhost', 8080);
print('Listening on ${serverSocket.address.address}:${serverSocket.port}');
await for (final socket in serverSocket) {
final forward = await client.forwardLocal('httpbin.org', 80);
forward.stream.cast<List<int>>().pipe(socket);
socket.cast<List<int>>().pipe(forward.sink);
}
% dart pub global activate dartssh2_cli Downloading packages... . (1.3s)
% dart info
If providing this information as part of reporting a bug, please review the information below to ensure it only contains things you're comfortable posting publicly.
General info