diff --git a/src/lib/cc/cpp/session.h b/src/lib/cc/cpp/session.h index a46ef96e72..bffebba81f 100644 --- a/src/lib/cc/cpp/session.h +++ b/src/lib/cc/cpp/session.h @@ -30,6 +30,9 @@ namespace ISC { Session(); + // XXX: quick hack to allow the user to watch the socket directly. + int getSocket() const { return (sock); } + void establish(); void disconnect(); void sendmsg(ISC::Data::ElementPtr& msg);