Re: Low .NET Socket performence!!!
From: Jon Skeet [C# MVP] (skeet_at_pobox.com)
Date: 07/14/04
- Next message: Eric Paschoalick Chaves: "Re: threading choice on single/multiple CPU"
- Previous message: Tamir Khason: "Re: App.config stranger string..."
- In reply to: Nadav: "Re: Low .NET Socket performence!!!"
- Next in thread: Nadav: "Re: Low .NET Socket performence!!!"
- Reply: Nadav: "Re: Low .NET Socket performence!!!"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 14 Jul 2004 10:34:18 +0100
Nadav <Nadav@discussions.microsoft.com> wrote:
> Same code for the 2003 version.
<snip>
Hmm. Well, I can reproduce the problem. I'm not entirely sure why it
happens, to be honest. I'll have a think and try to investigate it
further.
Btw, you do realise that there's no point in doing
if (0==x)
type comparisons in C# rather than the (IMO) more readable
if (x==0)
I assume this is a hang-over from C/C++ coding where it avoids
accidental typos of if (x=0) - but that doesn't compile in C# anyway,
as the type of an if statement has to be boolean.
-- Jon Skeet - <skeet@pobox.com> http://www.pobox.com/~skeet If replying to the group, please do not mail me too
- Next message: Eric Paschoalick Chaves: "Re: threading choice on single/multiple CPU"
- Previous message: Tamir Khason: "Re: App.config stranger string..."
- In reply to: Nadav: "Re: Low .NET Socket performence!!!"
- Next in thread: Nadav: "Re: Low .NET Socket performence!!!"
- Reply: Nadav: "Re: Low .NET Socket performence!!!"
- Messages sorted by: [ date ] [ thread ]