[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[liquidwar-user] "\x0d\x0a" vs "\r\n"

From: Roderick Schertler
Subject: [liquidwar-user] "\x0d\x0a" vs "\r\n"
Date: 17 Mar 2003 16:54:48 -0500

You changed "\x0d\x0a" in the patch I submitted to "\r\n", with a
comment saying they're equivalent.  They aren't actually equivalent,
the values used for \r and \n are up to the C compiler.  Eg, Mac OS
has traditionally used \x0d rather than \x0a for \n.  For network
programming one should use the numeric form.

Roderick Schertler

reply via email to

[Prev in Thread] Current Thread [Next in Thread]