I'm writing a hub and am unsure of what to do in the CTM handler. At the moment I simply ignore CTM requests where the target has the client type Bot flag set. That is, I do not dispatch the CTM at all. The trouble with this is the client doesn't give up, so every 90 seconds (I think) the client sends another CTM request.
What STA should I send to make DC++ stop trying to connect?
Denying a CTM request to a bot
-
- Senior Member
- Posts: 328
- Joined: 04 Dec 2007, 07:25
- Location: Bucharest
- Contact:
Re: Denying a CTM request to a bot
I guess STA 125 FCDCTM or something ( Access denied ) , but afaik DC++ does not check all the STA messages so probably it will send the CTM again. But if your hub is in the line of the protocol don't worry about what DC++ is doing or is not doing, just respect what the protocol says.
Just someone
-
- Newbie
- Posts: 1
- Joined: 11 Jan 2016, 06:01
Re: Denying a CTM request to a bot
I simply ignore CTM requests where the target has the client type Bot flag set.
NOOR
-
- Newbie
- Posts: 1
- Joined: 31 Jul 2017, 11:02