diff options
Diffstat (limited to 'cpp/src/Ice/UdpTransceiver.cpp')
-rw-r--r-- | cpp/src/Ice/UdpTransceiver.cpp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/cpp/src/Ice/UdpTransceiver.cpp b/cpp/src/Ice/UdpTransceiver.cpp index 1d2fcf47bbf..8085c1d47bb 100644 --- a/cpp/src/Ice/UdpTransceiver.cpp +++ b/cpp/src/Ice/UdpTransceiver.cpp @@ -884,6 +884,19 @@ IceInternal::UdpTransceiver::effectivePort() const return getPort(_addr); } +int +IceInternal::UdpTransceiver::sndBufSize() const +{ + return _sndSize; +} + +int +IceInternal::UdpTransceiver::rcvBufSize() const +{ + return _rcvSize; +} + + IceInternal::UdpTransceiver::UdpTransceiver(const ProtocolInstancePtr& instance, const Address& addr, #ifdef ICE_OS_WINRT @@ -1084,6 +1097,10 @@ IceInternal::UdpTransceiver::setBufSize(const Ice::PropertiesPtr& properties) } } } + + if (_endpoint) { + _endpoint->setBufSize(_sndSize, _rcvSize); + } } #ifdef ICE_OS_WINRT |