Re: Zero Padding Culprit

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



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
.



Relevant Pages

  • Re: Zero Padding Culprit
    ... Thanks for helping me. ... I can see my 5 byte payload on the network. ... Using a packet sniffer, I can see my 5 bytes plus 3 bytes of zero padding. ...
    (microsoft.public.dotnet.framework)
  • Re: hunt tool
    ... Hunt is a packet sniffer, ... sniffing from a router or broadcast network which is on the path the ... anything exploit that would allow remote sniffing should (and ...
    (Security-Basics)
  • Re: Cant establish trust between NT4 and W2K3 domains
    ... order for the trust relationship to be established. ... monitor or another packet sniffer on each side of the router ... > The network path was not found. ...
    (microsoft.public.windows.server.setup)
  • Re: Wireless Network
    ... >> which also includes a WEP decryptor. ... >Using this packet sniffer, what is actually seen? ... It's a stream of TCP/IP packets, the same as an ethernet network, encased ... drive there will be no network traffic to capture. ...
    (comp.security.firewalls)