summaryrefslogtreecommitdiff
path: root/src/tcp.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2016-08-17Wrote a proper IRC parserJulien Dessaux1-6/+19
There are limitations : currently the parser would loop infinitely if there were no \r\n (but the c wrapper would catch that), or if there were no spaces, and it would miss the cmd and params starting char if they were separated by more than one space. Those caveats aside, it works great! And that's more than enough for now.
2016-08-11Rewrote the irc connection steps for clarityJulien Dessaux1-3/+6
2016-08-11Working bot answering PING, and its C wrapper.Julien Dessaux12-0/+475