I am using the sample code in
SocketAsyncEventArgs Class (System.Net.Sockets)in a C# console program. That sample code uses the DnsEndPoint class, but I get the error "
The type or namespace name 'DnsEndPoint' could not be found" from it. I have a reference to System.Net and I have the following usings:
using System;
using System.IO;
using System.Threading;
using System.Net;
using System.Net.Sockets;
using System.Text;
I have tried to search for DnsEndPoint and I don't find something relevant.
I admit that I need to learn about network programming. I realize that when I have learned more, I could probably fix this myself. Is there something simple I am overlooking?
Sam Hobbs; see my SimpleSamples.Info