[Qt-interest] QTcpSocket and IRC
Thomas Fjellstrom
tfjellstrom at shaw.ca
Thu Apr 15 13:51:32 CEST 2010
On April 14, 2010, Robin Krahl wrote:
> Hi list!
>
> I’m having a problem with Qt and IRC. I’m just trying to implement a IRC
> connection with a QTcpSocket. I get connected to the server, but the
> connection gets closed (identd error) by foreign host although I sent
> USER and NICK commands. I tried the same with telnet, and everything
> worked fine. The code can be found here [1]. Has anyone an idea how to
> fix my problem?
>
> Regards,
> Robin
>
> PS: I know the part with “msg.trimmed() == "NOTICE AUTH :*** Found your
> hostname"” is no good style, but I’ll change this later on; when
> everything works. ;)
>
> [1]
> http://gitorious.org/rcc/rcc/blobs/master/src/ircnetworkconnection.cpp
Some servers check for identd, which is a separate process, and it hands out
your actual user name (on some setups) to the requester. Try installing an
identd server, and opening the identd port.
--
Thomas Fjellstrom
tfjellstrom at shaw.ca
More information about the Qt-interest-old
mailing list