I'm writing an IRC client for a schoolproject and work is progressing fine ,but I have problems connecting to some servers including Undernet servers.
I keep losing connection due to ping timeouts and can't really do anything to prevent them as it seems my registration doesn't seem to be accepted.
It's always the same pattern :
1) At connection I send the PASS, NICK and USER commands.
2) Server checks my hostname.
3) I try to JOIN a channel
4) server prompts me with a 451 error , telling me I'm not registered
5) I get a /QUOTE PONG | /RAW PONG | /<some command> + randomnr message.
6) I try sending the command (tried it with SLASH and WIthout SLASH) , but to no avail.
7) Ping timeout
This is my connect buffer:
Connected to MOSCOW.RU.EU.UNDERNET.ORG
USER guest * 0 :Maxime Hillaert
NOTICE AUTH :*** Looking up your hostname
NOTICE AUTH :*** Checking Ident
NOTICE AUTH :*** Found your hostname
:Moscow.RU.EU.Undernet.ORG 451 maxm007 maxm007 :Register first. //I try to JOIN a channel as a test , and time after time It seems I'm not registered.
:Moscow.RU.EU.Undernet.ORG 513 maxm007 :To connect, type /QUOTE PONG 1609575006
:Moscow.RU.EU.Undernet.ORG 513 maxm007 :Your client may not be compatible with this server.
:Moscow.RU.EU.Undernet.ORG 513 maxm007 :Compatible clients are available at ftp://ftp.undernet.org/pub/irc/clients
ERROR :Closing Link: maxm007 by Moscow.RU.EU.Undernet.ORG (Ping Timeout)
Am I doing something wrong in the registration? It works for most networks.
Is it my IDENT server? I'm using a third party windows service until I make my own , but it also seem to work perfectly.
Or am I sending the wrong PONG command?
Or am I missing something else ?
Thanks for your time , I'd really appreciate it if you could help me or direct my mail to someone who can.