Re: Zero Padding Culprit
- From: "Jeff" <backspin@xxxxxxxxxxxxx>
- Date: Thu, 28 Apr 2005 15:01:12 -0400
Hi Jon,
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.
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?
Thanks, Jeff
.
- Follow-Ups:
- Re: Zero Padding Culprit
- From: Jon Skeet [C# MVP]
- Re: Zero Padding Culprit
- References:
- Zero Padding Culprit
- From: Jeff
- Re: Zero Padding Culprit
- From: Jon Skeet [C# MVP]
- Zero Padding Culprit
- Prev by Date: Using Typed Datasets
- Next by Date: Imagebutton event fired when enter key pressed in a single line textbox
- Previous by thread: Re: Zero Padding Culprit
- Next by thread: Re: Zero Padding Culprit
- Index(es):