24 Jan
2006
24 Jan
'06
6:08 p.m.
Hello, Little question: I'm toying around to replace my socket_stream class with a boost::iostreams::stream class to implement a more generic approach... now, I use the socket file descriptor/handle as a unique identifier in my application, and so far this could easily be retrieved; however, when the boost::iostreams::stream "layer" is on top of my socket class, this is pretty much inaccessable. What is the most common approach to handle this problem ? I really don't want to resort to some kind of tuple which describes the stream and the handle, but at the moment, a construction like that is the only thing my mind can come up with... any suggestions ? Thanks in advance for any reactions. Regards, Leon Mergen