.NET Framework Bookmark and Share   
 index > .NET Framework Networking and Communication > DnsEndPoint in SocketAsyncEventArgs Class sample
 

DnsEndPoint in SocketAsyncEventArgs Class sample

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
Simple Samples
DnsEndPoint is Silverlight 3 only afaik.
http://www.alanjmcf.me.uk/ Please follow-up in the newsgroup. If I help, mark the question answered
Alan J. McFarlane
DnsEndPoint is Silverlight 3 only afaik.
http://www.alanjmcf.me.uk/ Please follow-up in the newsgroup. If I help, mark the question answered
Alan J. McFarlane
I do admit that the DnsEndPoint documentation does say Silverlight at the top. I evidently am confused about what Silverlight is. The Silverlightdocumentation says:

"Microsoft Silverlight is a cross-browser, cross-platform implementation of the .NET Framework for building media experiences and rich interactive applications for the Web."

What I have seen about Silverlight, I got the impression that it is something like Adobe Flash. Yet networking stuff such as DnsEndPoint is more like an operating system. It is confusing, especially since Silverlight was not installed with VS 2008.

I did do more reading after I posted this question. I have found the Silverlight documentation explaining how to use it. So I will assume that answers my question.

Sam Hobbs; see my SimpleSamples.Info
Simple Samples

You can use google to search for other answers

Custom Search

More Threads

• building up an CRM application
• How to make a Function Asynchronous
• ThreadPool and GetRequestStream
• Session cookies not working
• FtpWebRequest usage
• Programming over internet
• Embedded windows usercontrol in to web application
• deleted
• IO.Stream direct to byte array
• FTP WebRequest Using HTTP when on deployment server