ok there is a function in:
#include <winsock2.h>
called:
ntohs(DataPoint); <datapoint is a short... ntohs works for shorts
but when i try to use it I get this
here is the MSDN for it:Code:Linking...
TestTile.obj : error LNK2001: unresolved external symbol __imp__ntohs@4
Debug/TestTile.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
TestTile.exe - 2 error(s), 0 warning(s)
http://msdn.microsoft.com/library/de...e_ordering.asp
which means i am missing a library... does anyone know anything about this?
OR
does anyone know how that function i posted earlier does?

