0
Answer

Byte Order

justin

justin

18y
1.8k
1
I'm writing a tcp/ip app and here's a quick q. Should I use BitConverter and IPAddress.HostToNetworkOrder with IPAddress.NetworkToHostOrder Or does sending the stuff as... BinaryWriter writer = new BinaryWriter(stream, System.Text.Encoding.UTF8); and reading as BinaryReader reader = new BinaryReader(stream, System.Text.Encoding.UTF8); ensure the byte order for me? MSDN isn're real clear on this matter