Connecting to a hub (order in which things are sent)

Technical discussion about the NMDC and <a href="http://dcpp.net/ADC.html">ADC</A> protocol. The NMDC protocol is documented in the <a href="http://dcpp.net/wiki/">Wiki</a>, so feel free to refer to it.

Moderator: Moderators

Locked
Gizmo
Posts: 21
Joined: 2003-01-13 08:41

Connecting to a hub (order in which things are sent)

Post by Gizmo » 2004-09-22 13:37

hi all, been writing a bot in c# and iv got it to connect to YHub but it won't connect to any other hubs, it sends me the lock and pk but after that nothing seems to happen. just wondering if u can tell me if im responding with the correct responce to what the server sends me.

these are in no perticula order:

I recieve the Lock from the server and send back the key and validatenick

i recieve Getpass and respond wtih MyPass

i recieve Hello and respond with Version, GetNickList, MyINFO ALL

using that iv been able to connect to yhub but nothing elss. any ideas any one plz ?

Thx for any help
Gizmo

GargoyleMT
DC++ Contributor
Posts: 3212
Joined: 2003-01-07 21:46
Location: .pa.us

Re: Connecting to a hub (order in which things are sent)

Post by GargoyleMT » 2004-09-22 14:23

Gizmo wrote:any ideas any one plz ?
Ethereal

plx no 1337 talk. 10q.

Gizmo
Posts: 21
Joined: 2003-01-13 08:41

Post by Gizmo » 2004-09-22 19:36

very nice program thx for that. Turns out it was all ok, i was not converting the text fromt the byte array correctly.

GargoyleMT
DC++ Contributor
Posts: 3212
Joined: 2003-01-07 21:46
Location: .pa.us

Post by GargoyleMT » 2004-09-24 19:33

Gizmo wrote:Turns out it was all ok, i was not converting the text fromt the byte array correctly.
Glad to hear it. :)

Boozy
Posts: 1
Joined: 2004-12-08 18:36
Location: London

me too

Post by Boozy » 2004-12-08 18:51

Hi Gizmo,

I am also writting a bot in C# and am having a few problems with the exact order of things. If you would be interested in swapping source code or working together, then please message me.

Kind regards,

Boozy :)

Locked