Example #1
0
 private static void ensureCacheExists()
 {
     if (cache == null)
     {
         cache = new HW.TempDictionary<Cosmos.Hardware2.Network.MACAddress>();
     }
 }
Example #2
0
 private static void ensureCacheExists()
 {
     if (cache == null)
     {
         cache = new HW.TempDictionary <Cosmos.Hardware2.Network.MACAddress>();
     }
 }
Example #3
0
 /// <summary>
 /// Initialize the TCP/IP Stack variables
 /// </summary>
 public static void Init()
 {
     addressMap   = new HW.TempDictionary <HW.Network.NetworkDevice>();
     ipConfigs    = new List <IPv4Config>();
     udpClients   = new HW.TempDictionary <DataReceived>();
     tcpListeners = new HW.TempDictionary <ClientConnected>();
     tcpSockets   = new List <TCP.TCPConnection>();
 }
Example #4
0
 /// <summary>
 /// Initialize the TCP/IP Stack variables
 /// </summary>
 public static void Init()
 {
     addressMap = new HW.TempDictionary<HW.Network.NetworkDevice>();
     ipConfigs = new List<IPv4Config>();
     udpClients = new HW.TempDictionary<DataReceived>();
     tcpListeners = new HW.TempDictionary<ClientConnected>();
     tcpSockets = new List<TCP.TCPConnection>();
 }