[SDL] Net2: question

Sam Lantinga slouken at devolution.com
Thu Sep 14 00:10:30 PDT 2006

Whenever the API accepts an IPaddress, it assumes that you've already
converted it to network (big endian) byte order.  This normally isn't
a problem since that's what the hostname resolution functions return,
but if you fill in your own address, you need to make sure the port
is in big endian byte order.

See ya,
	-Sam Lantinga, Senior Software Engineer, Blizzard Entertainment

More information about the SDL mailing list