comparison Net/TCPStream.cs @ 108:819fb56a56ea

Removed rate limiting code from TCPServer
author Ivo Smits <Ivo@UCIS.nl>
date Mon, 27 Oct 2014 23:24:32 +0100
parents 4ba4fd48e1da
children
comparison
equal deleted inserted replaced
107:6be3c9bdb480 108:819fb56a56ea
2 using System.IO; 2 using System.IO;
3 using System.Net; 3 using System.Net;
4 using System.Net.Sockets; 4 using System.Net.Sockets;
5 using System.Threading; 5 using System.Threading;
6 using UCIS.Util; 6 using UCIS.Util;
7 using SysThreadPool = System.Threading.ThreadPool;
8 7
9 namespace UCIS.Net { 8 namespace UCIS.Net {
10 public class TCPStream : Stream, INetworkConnection { 9 public class TCPStream : Stream, INetworkConnection {
11 private static long _totalBytesRead = 0; 10 private static long _totalBytesRead = 0;
12 private static long _totalBytesWritten = 0; 11 private static long _totalBytesWritten = 0;