Hi, I have talked with Ian @ BareMetal.
He uses VirtualBox, so I set it up for VirtualBox and it works fine.
Currently using UDP Broadcast, the C# console code is below.
Code:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Net.Sockets;
using System.Net;
namespace TestEthernet
{
class Program
{
static void Main(string[] args)
{
UdpClient udp = new UdpClient();
int GroupPort = 15000;
//IPEndPoint groupEP = new IPEndPoint(IPAddress.Parse("192.168.98.98"), GroupPort);
IPEndPoint groupEP = new IPEndPoint(IPAddress.Broadcast, GroupPort);
string str4 = "Is anyone out there?";
byte[] sendBytes4 = Encoding.ASCII.GetBytes(str4);
for (int i = 0; i <= 10000; )
udp.Send(sendBytes4, sendBytes4.Length, groupEP);
byte[] receiveBytes = udp.Receive(ref groupEP);
string returnData = Encoding.ASCII.GetString(receiveBytes);
}
}
}