libt2n: (tomj) documented code problems; have to find out if this is the source of...
[libt2n] / src / connection.cpp
index 30a0b19..cc543b2 100644 (file)
@@ -32,6 +32,7 @@ namespace libt2n
 connection::~connection()
 {
     // we want the connection_closed callbacks to be called before
+    // FIXME: Functios is virtual
     close();
 
     do_callbacks(connection_deleted);
@@ -46,6 +47,7 @@ void connection::close()
     }
 }
 
+/// get the number of bytes being available as next complete packet
 connection::packet_size_indicator connection::bytes_available()
 {
     // no size information -> no packet