[Mono-devel-list] Network vs Host order in storage of IPAddress
Dick Porter
dick at ximian.com
Wed Sep 29 04:45:29 EDT 2004
On Tue, 2004-09-28 at 23:44 -0400, Ben Maurer wrote:
> Hey guys,
>
> Miguel and I noticed tonight that IPAddress is odd in that it stores its
> data internally in host order. The problem with this is that if you
> serialize an IPAddress and open it on a computer with a different host
> ordering, the address will come out differently.
Take a look at the CVS history of that file and see how byte order has
been carefully arranged.
- Dick
More information about the Mono-devel-list
mailing list