Re: Where Is It From?
From: Jon Skeet [C# MVP] (skeet_at_pobox.com)
Date: 07/20/04
- Next message: Ricardo Lezana Bastante: "Access to Outlook Express using C#"
- Previous message: Mike Kitchen: "Re: Int to Hex"
- In reply to: Chan: "Where Is It From?"
- Next in thread: H Chan: "Re: Where Is It From?"
- Reply: H Chan: "Re: Where Is It From?"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 20 Jul 2004 09:07:44 +0100
Chan <hifchan@yahoo.com> wrote:
> Tring to use Sockets, following examples from online doc. Got his
> error for
>
> Async_Send_Receive
>
> The type or namespace name 'Async_Send_Receive' could not be found
> (are you missing a using directive or an assembly reference?)
>
> I can not find it anywhere from the library.
>
> Anyone know where is it from?
>
> FYI, here are part of the code:
>
> IPEndPoint ipe = new IPEndPoint(host, 8080);
> Socket newSocket = new Socket(ipe.AddressFamily, SocketType.Stream,
> ProtocolType.Tcp);
> newSocket.BeginConnect(ipe, new
> AsyncCallback(Async_Send_Receive.Connect_Callback), newSocket);
It's not a complete sample. The idea is that you'd provide your own
callback. One of the problems (IMO) with the MSDN examples is that
they're *not* complete. I'd like to see a short but complete app for
every example...
-- Jon Skeet - <skeet@pobox.com> http://www.pobox.com/~skeet If replying to the group, please do not mail me too
- Next message: Ricardo Lezana Bastante: "Access to Outlook Express using C#"
- Previous message: Mike Kitchen: "Re: Int to Hex"
- In reply to: Chan: "Where Is It From?"
- Next in thread: H Chan: "Re: Where Is It From?"
- Reply: H Chan: "Re: Where Is It From?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|