X-Git-Url: http://developer.intra2net.com/git/?p=libt2n;a=blobdiff_plain;f=src%2Fconnection.cpp;h=cc543b266c1c36bb715b83844f8ef52acfc5c51c;hp=30a0b19246dae9e4f277f561f135b00800457999;hb=238ad35f4e3b6516d4ba7611b540a0edeea71427;hpb=af84dfb53a739a0c8c343d9172f1847fa908906d diff --git a/src/connection.cpp b/src/connection.cpp index 30a0b19..cc543b2 100644 --- a/src/connection.cpp +++ b/src/connection.cpp @@ -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