Exemple #1
0
 public PacketsToUDP(string host, int port, int bitsPerSecond, IPacketSource source)
 {
     _port          = port;
     _source        = source.Iterator();
     _bitsPerSecond = bitsPerSecond;
     _host          = host;
 }
 public static IEnumerable <byte[]> MaybeUniqueByteArray(IPacketSource source)
 {
     return(MaybeUniqueByteArray(source.Iterator()));
 }
 public static IEnumerable <byte[]> BitsPerSecond(int bitsPerSecond, IPacketSource source)
 {
     return(BitsPerSecond(bitsPerSecond, source.Iterator()));
 }