Example #1
0
 private Datagrams()
 {
     network = G2Network.Instance;
     cache   = GHubCache.Instance;
     data    = new Dictionary <NodePeer, List <G2Packet> > ();
     udp     = new UdpClient(network.SelfPort);
 }
Example #2
0
 private Datagrams()
 {
     network = G2Network.Instance;
     cache = GHubCache.Instance;
     data = new Dictionary<NodePeer,List<G2Packet>> ();
     udp = new UdpClient (network.SelfPort);
 }