Re: Zero Padding Culprit

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



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


.



Relevant Pages

  • Re: Zero Padding Culprit
    ... 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. ... or 32-bit alignment? ...
    (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)