I have compiled this protocol documentation from various sources in hopes of creating a complete Direct Connect protocol reference.
Version 1.4The following users have contributed to this file.
Last Update 05/07/03
The Direct Connect network is composed of Hubs, Clients, and the HubListServer. Hubs listen on TCP port 411 and allow many clients to connect and exchange commands such as searches and chat messages. Essentially, hubs are a naming service and communication facilitator for clients. Clients store files and respond to searches against those files. The HubListServer acts as a naming service for all the hubs. All hubs register with the HubListServer and clients discover hubs by asking the HubListServer. Clients are run by users, each of whom has a nick (aka username).
The TCP data is a series of commands, each in the form of,
<command>|
The | indicates the end of a command and is not followed by a newline.
Certain users are designated as Ops by the hub and are able to issue certain commands not available to other users.