2013-06-30 2 views

ответ

2

С RFC 1459:

Command: JOIN 
Parameters: <channel>{,<channel>} [<key>{,<key>}] 

Кроме того, вы должны прекратить свои линии с CR-LF:

IRC messages are always lines of characters terminated with a CR-LF 
(Carriage Return - Line Feed) pair, and these messages shall not 
exceed 512 characters in length, counting all characters including 
the trailing CR-LF. 

Так это "JOIN " + channel + " " + key + "\r\n"

Ссылки:

+0

Спасибо, я должен прочитать RFC более. Я забыл CR при вводе моего сообщения, мое плохое. –