First, please tell me if I'm not allowed to ask about this protocol here... It just seemed like the best place. Sorry if I'm wrong.
So according to wikipedia the USER message goes like the following:
USER username hostname servername :realname
What's the difference between hostname and servername? Thanks.
Each IRC message may consist of up to three main parts: the prefix (OPTIONAL), the command, and the command parameters (maximum of fifteen (15)). The prefix, command, and all parameters are separated by one ASCII space character (0x20) each.
Enter the name of the chat room you would like to join or select the chat room(s) from the list and then press Join. Press the Join button to connect to the room or rooms.
Channels on a network can be displayed using the IRC command LIST, which lists all currently available channels that do not have the modes +s or +p set, on that particular network. Users can join a channel using the JOIN command, in most clients available as /join #channelname.
You will need to enter some information about yourself in the Connect dialog, select an IRC Server from the servers list, and then click the Connect button to connect to the IRC Server. You will know that you have connected to the IRC Server when you see a Message Of The Day in the mIRC status window.
RFC 1459 states in section 4.1.3:
Note that hostname and servername are normally ignored by the IRC server when the USER command comes from a directly connected client (for security reasons), but they are used in server to server communication.
USER command from RFC1459 is modified in RFC2812 which moots your question slightly.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With