Casey Marshall
Wed, 23 Sep 2009 15:51:48 -0700
On Sep 23, 2009, at 2:21 PM, Casey Marshall wrote:
The endian conversion in the property Mono.Zeroconf.Providers.Bonjour.Service.UPort is wrong; casting between an int and a ushort doesn't do the right thing — NetworkToHostOrder will shift the low bytes into the high bytes, but casting that to a ushort discards the high bytes.Patch attached.
Yeah, I did forget about the big endian folks. Updated patch.
ServiceUPort.patch
Description: Binary data
_______________________________________________ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
- [Mono-dev] [PATCH] Mono.Zeroconf Bonjour vs. Endianness Casey Marshall
Re: [Mono-dev] [PATCH] Mono.Zeroconf Bonjour vs. Endianness Casey Marshall