Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
パイプまたはストリーム経由で Snort ログを読み取るにはどうすればよいですか? このようなもの :
snort -l | myApplication
パイプは、キーボードからの入力など、標準入力 - 「stdin」を使用します。次に、同じ関数を使用できます。
int x; std::cin << x; scanf("%d", &x);
等々。