Common CTCP Commands Client-to-client protocol




1 common ctcp commands

1.1 version
1.2 time
1.3 ping
1.4 dcc





common ctcp commands

please note following ctcp commands , replies client-specific, however, supported majority of irc clients. therefore, depending on irc client, may or may not have automated response (or replies) specific incoming ctcps set up, , these automated responses differ between clients.


version

a ctcp version request return name , version of irc client target using, , in cases technical information such operating system, clock rate, cpu manufacturer , cpu architecture/instruction set.


a sample reply ctcp version request target uses hexchat client (a fork of xchat) is:



version hexchat 2.9.1 [x86] / windows 8 [1.46ghz]

time

a ctcp time request return local time of target computer. depending on irc client, reply may consist of date, time (either in 12-hour format or 24-hour format), year (e.g. 2012), , time zone (e.g. est).


a sample reply ctcp time request target uses chatzilla client is:



time fri 23 nov 2012 19:26:42 est

ping

a ctcp ping request determine ping rate directly exists between 2 clients (i.e. discounting server). ctcp ping command works sending (often) integer argument (a timestamp) target client, target client responds supplying same numerical parameter. difference between original timestamp , current timestamp calculated, result being displayed user initiated ctcp ping. more not, timestamp utilises milliseconds used due majority of users broadband internet connections having ping under 1 second.


a sample ctcp ping request target <nickname> xchat client is:



ctcp ping 23152511

likewise, sample output generated difference (see above) is:



ping reply <nickname>: 0.53 second(s)

dcc

see direct client-to-client.







Comments

Popular posts from this blog

The Elwell-Parker Company Thomas Parker (inventor)

Lists Taizi

List of heads of mission List of ambassadors of the United Kingdom to Haiti