R
RatsonK
Guest
I'm using vs community 2017.
My defines are:
using namespace System;
using namespace System::Net;
using namespace System::Net::Sockets;
using namespace System::Text;
These line does not work:
IPHostEntry ipHostInfo = Dns.GetHostEntry(Dns.GetHostName());
IPAddress ipAddress = ipHostInfo.AddressList[0];
IPEndPoint localEndPoint = gcnew IPEndPoint(ipAddress, 500);
It raises for the Dns part "type name is not allowed".
BTW, when I right click on Dns, it opens the 'Object Browser'.
Any help will be appreciated.
Thanks for advance .
Continue reading...
My defines are:
using namespace System;
using namespace System::Net;
using namespace System::Net::Sockets;
using namespace System::Text;
These line does not work:
IPHostEntry ipHostInfo = Dns.GetHostEntry(Dns.GetHostName());
IPAddress ipAddress = ipHostInfo.AddressList[0];
IPEndPoint localEndPoint = gcnew IPEndPoint(ipAddress, 500);
It raises for the Dns part "type name is not allowed".
BTW, when I right click on Dns, it opens the 'Object Browser'.
Any help will be appreciated.
Thanks for advance .
Continue reading...