Working on own IRC Client and have some questions.
When I join a channel, I get multiple responses from IRC server after I have sent the JOIN command. They occur in this order:
-Server repeats/verifies JOIN command
-Server sends channel topic
-Server sends list of users in the joined channel (which can sometime be sent in chunks, due to message size limitation on IRC).
First question: is that flow correct?
Second question: Am I guaranteed that server will send everything needed before more commands are sent. (e.g. If I JOIN a channel, then someone happens to send a PRIVMSG before the complete JOIN response is completed, will server finish the JOIN before sending the PRIVMSG)
I hope that makes sense! Thanks