Re: Zero Padding Culprit
- From: Jon Skeet [C# MVP] <skeet@xxxxxxxxx>
- Date: Thu, 28 Apr 2005 20:33:41 +0100
Jeff <backspin@xxxxxxxxxxxxx> wrote:
> Thanks for helping me.
>
> I'm sure I didn't explain my problem very well.
> If I had, you probably wouldn't want to see any of my code because I think
> it is irrelevant.
No, I think I understood your description, but I still want to see the
code.
> I have a Windows Forms application (C#) that uses UdpClient to send bytes to
> the network.
>
> Machine A: WinXP SP1, .Net Framework 1.1
> Machine B WinXP SP2, .Net Framework 1.1 SP 1
>
> Suppose I send a 5 byte message from my application on Machine A.
> Using a packet sniffer, I can see my 5 byte payload on the network.
> Life is good.
> However, the same .exe running on Machine B acts differently.
> Using a packet sniffer, I can see my 5 bytes plus 3 bytes of zero padding.
>
> Why the zero padding, or 32-bit alignment?
I don't know, but it's possible that you have a bug in your code which
only exhibits itself under SP1.
--
Jon Skeet - <skeet@xxxxxxxxx>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
.
- Follow-Ups:
- Re: Zero Padding Culprit
- From: Jeff
- Re: Zero Padding Culprit
- References:
- Zero Padding Culprit
- From: Jeff
- Re: Zero Padding Culprit
- From: Jon Skeet [C# MVP]
- Re: Zero Padding Culprit
- From: Jeff
- Zero Padding Culprit
- Prev by Date: typed dataset
- Next by Date: Re: typed dataset
- Previous by thread: Re: Zero Padding Culprit
- Next by thread: Re: Zero Padding Culprit
- Index(es):
Relevant Pages
|