Re: Asycn TCPListener Sample Stops Listening URGENT!!!
- From: Helge Jensen <helge.jensen@xxxxxxx>
- Date: Tue, 02 May 2006 20:46:17 +0200
MSDN wrote:
Can you please give an example of how to Restart the Accept?
Reinvoke BeginAccept, otherwise noone will be listening.
And any other good samples for that matter?
I known how I like it ;)
Something along the way in EchoServer<T> and (by analogy) Parrot<T> at
https://slog.dk/svn/home/jensen/source/msgio/trunk/msgio/Program.cs, and
That code isn't a tutorial, but it is an example of some (I think :)
very robust code using async-programming. It certainly doesn't crash
when running the test, which opens and closes stuff all the time.
--
Helge Jensen
mailto:helge.jensen@xxxxxxx
sip:helge.jensen@xxxxxxx
-=> Sebastian cover-music: http://ungdomshus.nu <=-
.
- Follow-Ups:
- Re: Asycn TCPListener Sample Stops Listening URGENT!!!
- From: William Stacey [MVP]
- Re: Asycn TCPListener Sample Stops Listening URGENT!!!
- From: MSDN
- Re: Asycn TCPListener Sample Stops Listening URGENT!!!
- References:
- Asycn TCPListener Sample Stops Listening URGENT!!!
- From: MSDN
- Re: Asycn TCPListener Sample Stops Listening URGENT!!!
- From: Helge Jensen
- Re: Asycn TCPListener Sample Stops Listening URGENT!!!
- From: MSDN
- Asycn TCPListener Sample Stops Listening URGENT!!!
- Prev by Date: Re: Asycn TCPListener Sample Stops Listening URGENT!!!
- Next by Date: Re: Asycn TCPListener Sample Stops Listening URGENT!!!
- Previous by thread: Re: Asycn TCPListener Sample Stops Listening URGENT!!!
- Next by thread: Re: Asycn TCPListener Sample Stops Listening URGENT!!!
- Index(es):
Relevant Pages
|
Loading