summaryrefslogtreecommitdiff
path: root/csharp/src/Ice/StreamSocket.cs
diff options
context:
space:
mode:
Diffstat (limited to 'csharp/src/Ice/StreamSocket.cs')
-rw-r--r--csharp/src/Ice/StreamSocket.cs12
1 files changed, 6 insertions, 6 deletions
diff --git a/csharp/src/Ice/StreamSocket.cs b/csharp/src/Ice/StreamSocket.cs
index cae0fdbd0a3..97aac5bb781 100644
--- a/csharp/src/Ice/StreamSocket.cs
+++ b/csharp/src/Ice/StreamSocket.cs
@@ -35,7 +35,7 @@ namespace IceInternal
_state = StateConnected;
try
{
- _desc = IceInternal.Network.fdToString(_fd);
+ _desc = Network.fdToString(_fd);
}
catch(Exception)
{
@@ -111,12 +111,12 @@ namespace IceInternal
public int getSendPacketSize(int length)
{
- return _maxSendPacketSize > 0 ? System.Math.Min(length, _maxSendPacketSize) : length;
+ return _maxSendPacketSize > 0 ? Math.Min(length, _maxSendPacketSize) : length;
}
public int getRecvPacketSize(int length)
{
- return _maxRecvPacketSize > 0 ? System.Math.Min(length, _maxRecvPacketSize) : length;
+ return _maxRecvPacketSize > 0 ? Math.Min(length, _maxRecvPacketSize) : length;
}
public void setBufferSize(int rcvSize, int sndSize)
@@ -474,8 +474,8 @@ namespace IceInternal
// connection timeout could easily be triggered when
// receiging/sending large messages.
//
- _maxSendPacketSize = System.Math.Max(512, Network.getSendBufferSize(_fd));
- _maxRecvPacketSize = System.Math.Max(512, Network.getRecvBufferSize(_fd));
+ _maxSendPacketSize = Math.Max(512, Network.getSendBufferSize(_fd));
+ _maxRecvPacketSize = Math.Max(512, Network.getRecvBufferSize(_fd));
}
private int toState(int operation)
@@ -492,7 +492,7 @@ namespace IceInternal
}
private readonly ProtocolInstance _instance;
- private readonly IceInternal.NetworkProxy _proxy;
+ private readonly NetworkProxy _proxy;
private readonly EndPoint _addr;
private readonly EndPoint _sourceAddr;