tags:

views:

403

answers:

1

Are there net to host conversion functions in C#? Googling and not finding much. :P

+6  A: 

IPAddress.HostToNetworkOrder and IPAddress.NetworkToHostOrder?

Each method has overloads for 16, 32 and 64 bit integers.

Jon Skeet