ref: a418b6ed5d70f0e61e71bb1adce2a693ade89e30 biboumi/src/irc/irc_client.cpp -rw-r--r-- 6.2 KiB
a418b6ed — Florent Le Coz 9 years ago
Send and receive messages

Also correctly respond to PING with the id, escape some XML content, but not
bf7b05ef — Florent Le Coz 9 years ago
Implement the Bridge class to translate between the two protocols

Add all useful classes as well: Jid, Iid, IrcChannel, IrcUser etc to
properly keep the informations about what we receive from the IRC server.

Only handle the MUC join stanza, and send the list of users in the IRC
channel to the XMPP user, and the IRC channel’s topic, for now.
d834d6ed — Florent Le Coz 9 years ago
Exit the poller when it handles no connection at all
87aaacdb — Florent Le Coz 9 years ago
Rename libirc and libxmpp to irc and xmpp
358b53fa — Florent Le Coz 9 years ago
Move the basic socket implementation into the SocketHandler class

(that is, the read/write/connect/etc)
Because this code is actually common for both the IrcClient and
XmppComponent class. These two classes have to implement some higher level
callbacks (parsing the data provided in the buffers, doing stuff when the
connection is done) instead of doing the read/write/connect low level
4027ef8c — Florent Le Coz 9 years ago
Basic IRC message parsing/sending
7869ef2a — Florent Le Coz 9 years ago
First step of the connection skeleton

Basic connect, socket creating, polling, recving, etc.