O
O
Oleg2014-12-09 20:04:48
bittorrent
Oleg, 2014-12-09 20:04:48

Is it possible to connect to DC++ via telnet?

The Direct Connect protocol (DC++ or NMDC) operates in text mode.
The task is to connect to the hub via telnet. At least go through the initial registration procedure in the hub.
Judging by the description , this is done somehow not at all difficult.
Due to the incomplete description, it is not entirely clear what exactly the syntax should be when connecting.
To begin with, I connect like this:
telnet gotham.megadc.eu 1512
Then I enter the key (previously generated manually here master255.org/2.php ):
$Key uÑÀ° A ѱ±ÀÀ01'1qáPÑq|
then login:
$ValidateNick Master256|
He replies:
$Hello Master256|
To which I should answer $MyINFO. And I answer like this:

$MyINFO $ALL Master256 <FlylinkDC++ V:17958,M:P,H:1/2/3,S:20>$ [email protected]$0$|

What I get a lokachiny connection drop. Without explaning the reason. If you enter the wrong login in the last command, then he writes the wrong $MyINFO command. So he understands.
But why does communication happen? What am I doing wrong??

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
Oleg, 2014-12-24
@Master255

Attention correct answer!
Through telnet, I did not quite succeed. Apparently somewhere I generated something incorrectly.
But on jave everything just whistled!
It turns out the nmdc protocol is great for streaming video or heavy audio! Even rewind without brakes!
I connect and download files via text messages! I write the text to the port, and in response to me the file climbs))) Yes, this! What I want...and from the right byte...and from different ip addresses! In short, a fabulous flight!
Here is the finished project https://github.com/master255/ImmortalPlayer
But now I have to write a miniprogram in c++ and even c!
Eh .... here are the details ... mydc.ru/topic5677s20.html#entry46727

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question