[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CTCP Parsing



On Mon, Aug 16, 2004 at 06:25:55AM -0000, heap wrote:
>   I have been modifying a hybrid based IRCD.
>   The question is simple, what is the first large number that shows up on
> a DCC request? 

While DCC has little to do with ircd...

> A hashed number? (Supposedly an IP address, no?) (or not!)
> DCC SEND testing.txt 3574991127 34015 106

...these are internet IP number and port to connect to and also file size.
Internet IP is written as single IP (common format), the one above
is 3574991127 dec = D5160917 hex, and D5.16.09.17 = 213.22.9.23 for human eye.

p.

-- 
Beware of he who would deny you access to information, for in his
heart he dreams himself your master.   -- Commissioner Pravin Lal
http://nerdquiz.sgh.waw.pl/  -- polska wersja quizu dla nerdów ;)