开发者

boost async_receive receiving unexpected random things

开发者 https://www.devze.com 2023-01-30 23:45 出处:网络
i\'m working on an irc server but the problem it\'s receiving something like this: CAP LS NICK Fallen USER Fallen 0 * :Fallen

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

精彩评论

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