Thanks.
fabrizio
Should be able to.
#include <fstream>
#include <iostream>
std::fstream in("/dev/tap0", std::ios::in);
std::fstream out("/dev/tap1", std::ios::out);
Then you could overload the stream operators for your packet class to
handle reading/writing.
As far as read/write at once, you can or the in and out properties, but
from what you've said, I don't know why you would want to.
--John Ratliff