<Introduction / Contents>

Command Types (server to server)

Direct Connect uses UDP for server to server communication.
The following section describes the format of the Commands. Each field is denoted with < >.
The fields in the command are separated by a single space character (ASCII 32).
And each Command ends with a | (pipe). All Commands are case sensitive.

$Up

This message will be sent to each linked server.

$Up <linkedserverpassword> <ownip>

The server receiving the $Up command must then respond with

$UpToo <linkedserverpassword> <ownip>

$Search

Clients are either "active", indicating they are on the Internet and can receive data directly from peers, or "passive", in which case they can communicate only through the existing connection to the server. To perform a search, an active client can send,

$Search <clientip>:<clientport> <searchstring>
i.e. $Search 64.78.55.32:412 T?T?500000?1?madonna$ray

<searchstring> is made up of

<sizerestricted>?<isminimumsize>?<size>?<datatype>?<searchpattern>

$ConnectToMe

This message sends the server to each linked server, when a user sends the $MultiConnectToMe message.

$ConnectToMe <remotenick> <senderip>:<senderport>