[DGD] While loop in auto object this_user() purpose
bart at wotf.org
bart at wotf.org
Mon Mar 20 23:07:48 CET 2017
On Mon, 20 Mar 2017 21:46:55 +0000, Gary wrote
<snip>
>
> Is there a scenario that could result in user->query_user()
> returning a LIB_CONN instead in an unmodified kernel lib?
When for example adding the ssh implementation Felix wrote at some point you
will get that situation.
In general, to implement various network protocols you can use an object which
sits between the connection object and the user object. To the connection
object, such an 'inbetween' will act as user object, whereas to the 'real'
user object, it will act as a connection object, and hence has to inherit LIB_CONN
Bart.
--
http://www.flickr.com/photos/mrobjective/
http://www.om-d.org/
More information about the DGD
mailing list