PDA

View Full Version : ^n and ^r


portocala
06-16-2010, 04:01
What does ^n and ^r mean ?

For example in sockets:

format(send, 511, "GET /asd.php HTTP/1.1^r^nHost:www.myhost.com^r^nConnection: close^r^n^r^n");

I know that ^n is for a new line... but I'm not sure.

Thanks.

Sylwester
06-16-2010, 09:06
^n - new line
^r - carriage return

http://en.wikipedia.org/wiki/Newline#In_programming_languages