X-Git-Url: http://developer.intra2net.com/git/?p=libt2n;a=blobdiff_plain;f=src%2Fsocket_server.hxx;h=4c928c5f020026d392d60ce64ae086b99830ad22;hp=6ebe983c81501126fbb9d18f2c667fdcd20d86b7;hb=45a2ebc9695c4d7be6548b7e0f800d117ae56a0b;hpb=04d86ba4ad4f14ab08f38804e772ec46a8ac92b0 diff --git a/src/socket_server.hxx b/src/socket_server.hxx index 6ebe983..4c928c5 100644 --- a/src/socket_server.hxx +++ b/src/socket_server.hxx @@ -63,7 +63,7 @@ class socket_server : public socket_handler, public server ~socket_server(); - bool fill_buffer(long long usec_timeout=-1); + bool fill_buffer(long long usec_timeout=-1,long long* usec_timeout_remaining=NULL); }; /** @brief Socket based connection @@ -86,8 +86,8 @@ class socket_server_connection : public socket_handler, public server_connection { socket_write(data); } public: - bool fill_buffer(long long usec_timeout=-1) - { return socket_handler::fill_buffer(buffer,usec_timeout); } + bool fill_buffer(long long usec_timeout=-1,long long* usec_timeout_remaining=NULL) + { return socket_handler::fill_buffer(buffer,usec_timeout,usec_timeout_remaining); } void close(); };