All pastes #639556 Raw Edit

Someone

public text v1 · immutable
#639556 ·published 2007-07-30 17:35 UTC
rendered paste body
SERVER server_host
VERSION server_version
SET ENCRYPTION ON/OFF
SET NICK username
SET PASS password
AUTH OK/FAIL
ERR code message
USERS user1 user2 user3
MSG from to message
JOIN channel
CUSERS user1 user2 user3
CMSG channel from message
LEAVE channel
QUIT

typical session

-- client opens socket to server
-- server accepts socket
<server> SERVER(null)localhost
<server> VERSION(null)0.0.1
<server> SET(null)ENCRYPTION(null)OFF
<client> SET(null)NICK(null)leon_pegg
<client> SET(null)PASS(null)andritz
<server> AUTH(null)OK
<server> USERS(null)greyscale(null)bob(null)freak
<server> CHANNELS(null)openchat
<client> MSG(null)leon_pegg(null)geryscale(null)hello greyscale how are you?
<server> MSG(null)geryscale(null)leon_pegg(null)hi I am fine
<client> JOIN(null)openchat
<server> CUSERS(null)openchat(null)freak
<server> CMSG(null)openchat(null)freak(null)some chatter from the channel
<client> CMSG(null)openchat(null)leon_pegg(null)hi all how is every one
<client> LEAVE(null)openchat
<client> QUIT
-- server closes socket
-- client closes socket