diff options
Diffstat (limited to 'cs/src/Ice/UdpTransceiver.cs')
-rw-r--r-- | cs/src/Ice/UdpTransceiver.cs | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/cs/src/Ice/UdpTransceiver.cs b/cs/src/Ice/UdpTransceiver.cs index 68ff87944c5..b79537674ec 100644 --- a/cs/src/Ice/UdpTransceiver.cs +++ b/cs/src/Ice/UdpTransceiver.cs @@ -816,6 +816,16 @@ namespace IceInternal return Network.endpointPort(_addr); } + public int sndBufSize() + { + return _sndSize; + } + + public int rcvBufSize() + { + return _rcvSize; + } + // // Only for use by UdpConnector. // @@ -1000,6 +1010,11 @@ namespace IceInternal } } } + + if(_endpoint != null) + { + _endpoint.setBufSize(_sndSize, _rcvSize); + } } #if ICE_SOCKET_ASYNC_API |