Ignore:
Timestamp:
Oct 13, 2006, 6:58:12 PM (15 years ago)
Author:
livings124
Message:

in info show the number of incoming connections next to total connections

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/Torrent.m

    r998 r1006  
    682682{
    683683    return fStat->peersTotal;
     684}
     685
     686- (int) totalPeersIncoming
     687{
     688    return fStat->peersIncoming;
     689}
     690
     691- (int) totalPeersOutgoing
     692{
     693    return [self totalPeers] - [self totalPeersIncoming];
    684694}
    685695
Note: See TracChangeset for help on using the changeset viewer.