Re: Threads very slow
- From: John Murray <jmurray@xxxxxxxxx>
- Date: Tue, 07 Mar 2006 11:37:58 -0600
Not to mention you have both those threads running full throttle without yielding processor time when there is no work to do ... of course it's going to consume your cycles.... but then that would only apply if you are using Recieve vs. BeginReceive ..
John
Andy wrote:
BeginAccept shouldn't be in a loop..
Call it once. Then when the connection occurs, your method will be
called to handle the connection event.
To receive a packet, use Recieve or BeginReceive.
- Follow-Ups:
- Re: Threads very slow
- From: PH
- Re: Threads very slow
- References:
- Threads very slow
- From: PH
- Re: Threads very slow
- From: Andy
- Threads very slow
- Prev by Date: Re: XML Parents
- Next by Date: Re: garbled byte offset when receiving data from Socket
- Previous by thread: Re: Threads very slow
- Next by thread: Re: Threads very slow
- Index(es):
Relevant Pages
|