hi
I've got the following problem:
when i try to connect Dc++ v. 0.401 to my server... everything works fine until the server sends $Hello. DC Protocol on wiki says that client should soon send $MyINFO to server... well it doesn't (the same happens to $Version)... DC waits for sth, it asks for INFOs of other clients after receiving $NickList, receives messages from hub and displays it on main chat but doesn't want to pass any messages to others. What is wrong? I do everything as said in wiki... i encounter the same problem with DC:PRO.
thx for replies, sorry for my English
stupid $MyINFO
Moderator: Moderators
-
- Posts: 147
- Joined: 2003-01-04 02:20
- Location: Canada http://hub-link.sf.net
- Contact:
-
- Posts: 506
- Joined: 2003-01-03 07:33
Code: Select all
if(state == STATE_HELLO) {
state = STATE_CONNECTED;
updateCounts(false);
version(SETTING(CLIENTVERSION));
getNickList();
myInfo();
}
Everyone is supposed to download from the hubs, - I don´t know why, but I never do anymore.
I had the following conversation with dc++ today
(funny enough, it was some random user who connected to this port just when I decided to test.. but it was DC++ according to the tag)
now.. maybe you should consider that your code is not correct. perhaps you didn't flush the socket while the language/library you use needs that?
't was a simple as opening a netcat session on an unused port, sending $Lock delimited by the pipe, and the $Hello (preceeded by a pipe as well - netcat needs a linefeed to send - so the unknown "\n|" command could be discarded)--> $Lock abcde Pk=abcde|
<-- $Key V0p|$ValidateNick [0.5mb]23lutij64|
--> $Hello [0.5mb]23lutij64|
<-- $Version 0.261|$GetNickList|$MyINFO $ALL [0.5mb]23lutij64 ALL<++ V:0.261,M:P,H:3/0/0,S:6>$ $DSL$[email protected]$143605480043$||$Search Hub:[0.5mb]23lutij64 T?F?49999999?1?tmn$dkr2$r26|
(funny enough, it was some random user who connected to this port just when I decided to test.. but it was DC++ according to the tag)
now.. maybe you should consider that your code is not correct. perhaps you didn't flush the socket while the language/library you use needs that?
http://dc.selwerd.nl/hublist.xml.bz2
http://www.b.ali.btinternet.co.uk/DCPlusPlus/index.html (TheParanoidOne's DC++ Guide)
http://www.dslreports.com/faq/dc (BSOD2600's Direct Connect FAQ)
http://www.b.ali.btinternet.co.uk/DCPlusPlus/index.html (TheParanoidOne's DC++ Guide)
http://www.dslreports.com/faq/dc (BSOD2600's Direct Connect FAQ)