[Qt-interest] QTcpSocket and IRC

Robin Krahl robin at rkrahl.de
Wed Apr 14 22:59:24 CEST 2010


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
-- 
Robin Krahl <robin at rkrahl.de>
http://rkrahl.de

plain text & open source ftw!



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 286 bytes
Desc: OpenPGP digital signature
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100414/239bc38d/attachment.bin 


More information about the Qt-interest-old mailing list