Author: alanmc
Date: 2006-09-13 11:14:23 -0400 (Wed, 13 Sep 2006)
New Revision: 65357

Modified:
   
branches/BitSharp/bitsharp/src/MonoTorrent.Client/PeerConnections/PeerConnectionBase.cs
Log:
New bool to show if the peer supports FastPeer or not.

Modified: 
branches/BitSharp/bitsharp/src/MonoTorrent.Client/PeerConnections/PeerConnectionBase.cs
===================================================================
--- 
branches/BitSharp/bitsharp/src/MonoTorrent.Client/PeerConnections/PeerConnectionBase.cs
     2006-09-13 15:07:37 UTC (rev 65356)
+++ 
branches/BitSharp/bitsharp/src/MonoTorrent.Client/PeerConnections/PeerConnectionBase.cs
     2006-09-13 15:14:23 UTC (rev 65357)
@@ -44,6 +44,17 @@
     {
         #region Member Variables
         /// <summary>
+        /// True if the peer supports the Fast Peers extension
+        /// </summary>
+        public bool SupportsFastPeer
+        {
+            get { return this.supportsFastPeer; }
+            set { this.supportsFastPeer = value; }
+        }
+        private bool supportsFastPeer;
+
+
+        /// <summary>
         /// The size of the send and recieve buffers. Defaults to 32bytes more 
than my default request size.
         /// </summary>
         private static readonly int BufferSize = ((1 << 14) + 32);

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to