Share via


Byte Ordering Assumptions (Windows Embedded CE 6.0)

1/6/2010

A service provider should treat all sockaddr calls exclusive of the address family parameter as if they are in the network byte order, and the address family parameter as in the local machine's byte order. It is the Winsock application's responsibility to make sure that addresses contained in sockaddr structures are properly arranged. The Winsock API provides a number of conversion routines to simplify this task. Currently these routines understand conversion between the local host's natural byte order and either big-endian or little-endian network byte ordering. The Winsock architecture can support other byte ordering schemes in the future.

See Also

Concepts

Winsock Service Provider Interface (SPI)