diff options
author | Benoit Foucher <benoit@zeroc.com> | 2013-07-12 14:07:08 +0200 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2013-07-12 14:07:08 +0200 |
commit | e0064a1ce41067e40eb1495745e3499e836f1a61 (patch) | |
tree | ca41e7d77ff2da9d02775a4209c2e0009868053d /cpp/src/Ice/UdpTransceiver.h | |
parent | ICE-5377 - clang optimized build failure (diff) | |
download | ice-e0064a1ce41067e40eb1495745e3499e836f1a61.tar.bz2 ice-e0064a1ce41067e40eb1495745e3499e836f1a61.tar.xz ice-e0064a1ce41067e40eb1495745e3499e836f1a61.zip |
Fix to allow transceivers to read more data than requested.
Diffstat (limited to 'cpp/src/Ice/UdpTransceiver.h')
-rw-r--r-- | cpp/src/Ice/UdpTransceiver.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/Ice/UdpTransceiver.h b/cpp/src/Ice/UdpTransceiver.h index ad6bf128619..9768ff79a2d 100644 --- a/cpp/src/Ice/UdpTransceiver.h +++ b/cpp/src/Ice/UdpTransceiver.h @@ -47,10 +47,10 @@ public: virtual void setCompletedHandler(SocketOperationCompletedHandler^); #endif - virtual SocketOperation initialize(Buffer&, Buffer&); + virtual SocketOperation initialize(Buffer&, Buffer&, bool&); virtual void close(); virtual bool write(Buffer&); - virtual bool read(Buffer&); + virtual bool read(Buffer&, bool&); #if defined(ICE_USE_IOCP) || defined(ICE_OS_WINRT) virtual bool startWrite(Buffer&); virtual void finishWrite(Buffer&); |