Direct Connect (protocol)
Direct Connect (DC) is a peer-to-peer file sharing protocol.[src] Direct Connect clients connect to a central hub and can download files directly from one another.[src] Advanced Direct Connect can be considered a successor protocol.[src] Hubs feature a list of clients or users connected to them.[src] Users can search for files and download them from other clients, as well as chat with other users.[src]
Direct Connect (DC) is a peer-to-peer file sharing protocol.[src] Direct Connect clients connect to a central hub and can download files directly from one another.[src] Advanced Direct Connect can be considered a successor protocol.[src] Hubs feature a list of clients or users connected to them.[src] Users can search for files and download them from other clients, as well as chat with other users.[src] ==History== NeoModus was started as a company funded by the adware "Direct Connect" by Jon Hess in November, 1999 while he was in high school.[src] The first third-party client was called "DClite", which never fully supported the file sharing aspects of the protocol.[src] Hess released a new version of Direct Connect, requiring a simple encryption key to initiate a connection, locking out third-party clients.[src] The encryption key was cracked, and the author of DClite released a new version of DClite compatible with the new software from NeoModus.[src] Some time after, DClite was rewritten as Open Direct Connect with the purpose of having an MDI user interface and using plug-ins for file sharing protocols (similar to MLDonkey).[src] Open Direct Connect also did not have complete support for the full file sharing aspects of the protocol, but a port to Java, however, did.[src] Later on, other clients such as DCTC (Direct Connect Text Client) and DC++ became popular.[src] The DCDev archive contains discussions of protocol changes for development of DC in the years 2003–2005.[src] ==Protocol== The Direct Connect protocol is a text-based computer protocol, in which commands and their information are sent in clear text, without encryption in original NeoModus software (encryption is available as a protocol extension).[src] Clients connect to a central server acting as a "hub".[src] This hub provides content discovery and allows clients to negotiate direct connections with each other for transferring content.[src] Since this central hub only deals with metadata, it does not have anywhere near the same bandwidth requirements as if it also had been serving the content itself; an estimate shows that handling 1000 users would require about 2.5 mbit/s of bandwidth.[src] There is no official specification of the protocol, meaning that every client and hub (besides the original NeoModus client and hub) has been forced to reverse engineer the information.[src] As such, any protocol specification this article may reference is likely inaccurate and/or incomplete.[src] The client-server (as well as client-client, where one client acts as "server") aspect of the protocol stipulates that the server respond first when a connection is being made.[src] For example, when a client connects to a hub's socket, the hub is first to respond to the client.[src] The protocol lacks a specified default character encoding for clients or hubs.[src] The original client and hub use ASCII encoding instead of that of the Operating system.[src] This allows migration to UTF-8 encoding in newer software.[src] Port 411 is the default port for hubs, and 412 for client-to-client connections.[src] If either of these ports is already in use, the port number is incremented until the number of a free port is found for use.[src] For example, if 411, 412 and 413 are in use, then port 414 will be used.[src] Hub addresses are in the following form: dchub://example.com[:411], where 411 is an optional port.[src] There is no global identification scheme; instead, users are identified with their nickname on a hub-to-hub basis.[src] An incoming request for a client-client connection cannot be linked with an actual connection.[src] A search result cannot be linked with a particular search.[src] The ability to kick or move (redirect) a user to another hub is supported by the protocol.[src] If a user is kicked, the hub is not required to give that user a specific reason, and there is no restriction on where a user can be redirected to.[src] However, if another client in power instructs the hub to kick, that client may send out a notification message before doing so.[src] Redirecting a user must be accompanied by a reason.[src] There is no HTTP referer equivalent.[src] Hubs may send out user commands to clients.[src] These commands are only raw protocol commands and are used mostly for making a particular task simpler.[src] For example, the hub cannot send a user command that will trigger the default browser to visit a website.[src] It can, however, add the command "+rules" (where '+' indicates to the hub that it's a command - this may vary) to display the hub's rules.[src] The peer-to-peer part of the protocol is based on a concept of "slots" (similar to number of open positions for a job).[src] These slots denote the number of people that are allowed to download from a user at any given time and are controlled by the client.[src] In client-to-client connections, the parties generate a random number to see who should be allowed to download first, and the client with the greater number wins.[src] Transporting downloads and connecting to the hub requires TCP, while active searches use UDP.[src] There are two kinds of modes a user can be in: either "active" or "passive" mode.[src] Clients using active mode can download from anyone else on the network, while clients using passive mode users can only download from active users.[src] In NeoModus Direct Connect, passive mode users receive other passive mode users' search results, but the user will not be able to download anything.[src] In DC++, users will not receive those search results.[src] In NeoModus Direct Connect, all users will be sent at most five search results per query.[src] If a user has searched, DC++ will respond with ten search results when the user is in active mode and five when the user is in passive mode.[src] Passive clients will be sent search results through the hub, while active clients will receive the results directly.[src] Protocol delimiters are "$", "|", and .[src] Protocol have for them (and few others) escape sequence and most software use them correctly in login (Lock to Key) sequence.[src] For some reason that escape sequence was ignored by DC++ developers and they use HTML equivalent if these characters are to be viewed by the user.[src] Continued interest exists in features such as ratings and language packs.[src] The authors of DC++ also proposed a complete replacement of the Direct Connect protocol called ADC, or unofficially, Advanced Direct Connect.[src] ADC uses the same network topology, concepts, and terminology as the original protocol.[src] One example of an added feature to the protocol, in comparison with the original protocol, is the broadcasting of Tiger-Tree Hashing of shared files (TTH).[src] The advantages of this include verifying that a file is downloaded correctly, and the ability to find files independently of their names.[src] ==See also== Comparison of Direct Connect software ==References== ==External links== NMDC Protocol Wiki (Mirror) NMDC Protocol Document NMDC Protocol[src]
65 sentences · 65 cited inline · 0 references stored
References
No reference rows published for this article.
Cite this article
MLA
"Direct Connect (protocol)." encyclopegia.org, 2026, https://encyclopegia.org/wiki/direct-connect-protocol. Accessed 30 November 2026.
Chicago
"Direct Connect (protocol)." encyclopegia.org. Accessed November 30, 2026. https://encyclopegia.org/wiki/direct-connect-protocol.
APA
encyclopegia.org. (2026). Direct Connect (protocol). Retrieved November 30, 2026, from https://encyclopegia.org/wiki/direct-connect-protocol
Accessed November 30, 2026 · CC BY-SA 4.0 · citation page · JSON