Porting question from previous libstdc++ to 2.90.8...
George T. Talbot
george@moberg.com
Wed Apr 19 14:31:00 GMT 2000
...I have a pair of classes that subclass streambuf and ostream to provide an
ostream that writes to a socket. It doesn't work right with the new libstdc++
and I wondered if there was some sort of guide for porting code that does this
sort of thing.
As an aside--is there a method by which I can pass a file descriptor to an
ofstream instead of a file name? I conjecture that if such a feature was
available, I could pass the return value of socket() (socket file descriptor)
in place of the regular file descriptor and have this work.
Is there a porting FAQ? I looked at the FAQ and couldn't find anything about
differences in how these things work.
--
George T. Talbot
<george at moberg dot com>
More information about the Libstdc++
mailing list