A DWORD is actually a data type used in programming. Officially it's an 
unsigned long integer which is defined to be 32 bits wide.

To convert an IP address to a DWORD you need to do the following:

192.168.100.2

Convert each octet into 8 bit binary:

11000000  10101000  01100100  00000010

now combine them together

11000000101010000110010000000010

and finally convert back into decimal

3232261122

Voilla!

Mark.

-----Original Message-----
From:   Swapnil Wadikar [SMTP:[EMAIL PROTECTED]]
Sent:   Wednesday, April 25, 2001 4:04 PM
To:     [EMAIL PROTECTED]
Subject:        dword convertion

Hi all,
    How do you convert an ip address to a dword, and how does dword
work? Are there any white papers on this?

Thanks and regards,
Swapnil W.


-
[To unsubscribe, send mail to [EMAIL PROTECTED] with
"unsubscribe firewalls" in the body of the message.]
-
[To unsubscribe, send mail to [EMAIL PROTECTED] with
"unsubscribe firewalls" in the body of the message.]

Reply via email to