chas williams - CONTRACTOR wrote: ok, i think this thread is getting out of hand. it is NEVER appropriate to apply htons() to AF_INET. read stevens. I agree, and in fact have already made the fix in cvs. But I've been around long enough to be skeptical of any fix that has not been tested, no matter how obviously correct it is.