X-Git-Url: http://developer.intra2net.com/git/?p=libt2n;a=blobdiff_plain;f=src%2Fconnection.cpp;h=c9283fe375950c613a581a59ced110e2cfb0b587;hp=30a0b19246dae9e4f277f561f135b00800457999;hb=487afb796c9547de4353c503939b6666f8e0877d;hpb=3b2543e7dfd705d6e624560dd5a681898c0f242c diff --git a/src/connection.cpp b/src/connection.cpp index 30a0b19..c9283fe 100644 --- a/src/connection.cpp +++ b/src/connection.cpp @@ -46,6 +46,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