IRC Client C# PING request

I'm trying to write my own IRC Client an i think i'm stuck where i should send the PONG response. Everything my code currently does, is sending the logon informations ("NICK USERNAME" and "USER USERNAME...") That works so far, but the server quits my connection after that. This is what the server says:

:eu.german-elite.net NOTICE AUTH :*** Looking up your hostname...
:eu.german-elite.net NOTICE AUTH :*** Found your hostname (cached)
:eu.german-elite.net NOTICE AUTH :*** Checking ident...
:eu.german-elite.net NOTICE AUTH :*** No ident response; username prefixed with
~
ERROR :Closing Link: [91.115.212.209] (Ping timeout)

Shouldn't i get a PING request after that? If so, where is it? (on another port?)


服务器应该在同一个端口上向你发送一个PING请求,与所有其他东西一样,构建起来就像这样: PING <stuff>请注意,它前面缺少冒号,它期望得到如下回复: PONG <stuff> while <stuff>不变。

链接地址: http://www.djcxy.com/p/53466.html

上一篇: ircDotNet bot无法从IRC频道获取消息,长时间登录/注销

下一篇: IRC客户端C#PING请求