Okay, let me rephrase that, always use little endian for your type
representation. 

The code I sent around had the "ugly ugly" disclaimer meaning I spent 10
minutes writing it, issues like endianness (or even how to effectively
read the data response) were left out of the implementation.

- Alfred

----Original Message----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of John
Beranek Sent: Tuesday, August 24, 2004 11:13 AM To:
[EMAIL PROTECTED] Subject: Re: [hlds_apps] Source RCON
format 

> Alfred Reynolds wrote:
> 
> > The server only runs on x86 hardware so no need to convert
> > endian-ness (is that a word?) of the data.
> 
> But clients can run anywhere, so a client on a big-endian platform
> has to explicitly convert the endianness of the integers... 
> 
> John.

_______________________________________________
hlds_apps mailing list
[EMAIL PROTECTED]
http://list.valvesoftware.com/mailman/listinfo/hlds_apps

Reply via email to