public void SendDataWithoutConnection()
        {
            var fullEthernetNetworkController = new FullEthernetNetworkController();
            fullEthernetNetworkController.SendData("testdata");

            Assert.Fail("Expected exception");
        }
Exemple #2
0
 private static void Main(string[] args)
 {
     var networkController = new FullEthernetNetworkController("192.168.0.3", 1333);
     FullNodeController nodeController = new FullNodeController(0, new HardwareController(), networkController);
     nodeController.Start(5000, 5000, 40);
 }