Hello, I am writing a TCP client class in VS2019 using System.Net.Sockets TCPClient.?
I created a test server on the MC4 at TCP port 9001.
The MC4 IP is 10.0.0.57 and the MC4 hostname is?MC4-00107FE73CAB
My Client class first checks if the IP address is pingable and then connects via IP Address
Everything is working great except now I am trying to ping test and connect with the HostName of the MC4 and nothing works.
string hostName = "MC4-00107FE73CAB"
_client = new TcpClient();
_client.Connect(hostName, port);
Any help would be appreciated
Thanks