开发者

boost async_receive receiving unexpected random things

i'm working on an irc server but the problem it's receiving something like this: CAP LS NICK Fallen USER Fallen 0 * :Fallen where it should be:

NICK Fallen
USER Fallen 0 * :Fallen

my code: http://pastebin.com/Li3wbpvu (i'm so开发者_如何学Gorry i suck at posting code here it gets messy) EDIT: more details: and it's not even receiving every message in a new line. any ideas?


That's perfectly valid IRC protocol capabilities negotiation.

See some references

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜