
CTCP Version 1 | Klaus Zeuge
Troy Rollo Ben Mesander May 1993 |
Characters between an Internet Relay Chat (IRC) client and server are 8 bit bytes (also known as octets) and can have numeric values from octal \000 to \377 inclusive (0 to 255 decimal). Some characters are special:
CHARS ::= '\000' .. '\377' NUL ::= '\000' NL ::= '\n' CR ::= '\r'
Note: `\' followed by three digits is used to denote an octal value in this paper. `\' followed by an alphabetic character is used to denote a C language style special character, and `..' denotes a range of characters.
A line sent to a server, or received from a server (here called "low level messages") consist or zero or more octets (expcept NUL, NL or CR) with either a NL or CR appended.
L-CHARS ::= '\001' .. '\011' | '\013' | '\014' | '\016' .. '\377' L-LINE ::= L-CHARS* CR LF
Note: The `*' is used here to denote "zero or more of the preceding class of characters", and the `|' is used to denote alternation.
A NUL is never sent to the server.
PREVIOUS PAGE | TABLE OF CONTENTS | NEXT PAGE
![]()
Comments about this page? Send them to
webmaster (at) invlogic.com.
Return to Innovative Logic's Home Page.
Last modified: 17-Sep-2004 01:04PM.
Pages copyright ©1996-1997,
Innovative Web Creations.
All rights reserved.