3 ms·
It may look intimidating at first, but it's really very easy once you get the basics. HTTP and IRC on the other hand look easy at first, then you get past that
by Zash 11y ago
It may look intimidating at first, but it's really very easy once you get the basics.
HTTP and IRC on the other hand look easy at first, then you get past that and there's just more and more complications and edge cases and horror. Like all the various cache headers and behaviors in HTTP, or how all IRC networks have their own dialect that's subtly different.
I once tried to work on an IRC server interface, I read all the RFCs, wrote code, then tested with a client. Nothing worked, so I had to resort to replay what the client sent to a different network and reproduce whatever they did.
If you go read the XMPP RFCs, you should be able to write a client or a server that gets along pretty well with the rest of the XMPP world.