Well, to answer my own question, no they can't. Anything greater than 127.255.255.255 exceeds the size of CF's integer type and the bitwise operators throw errors. This begs the question... How does CF represent numbers larger than 32 bit signed integers? Does it internally use longs (at least on 32 bit systems) or does it revert to using strings? If it uses strings, that's got to be one hell of a performance hit when numbers get that large.
Jim ----- Original Message ----- From: "Jim McAtee" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Wednesday, September 25, 2002 8:38 AM Subject: IP Address as CF Number > Can an IP address be safely manipulated as a CF numeric variable? I want to be > able to apply network masks using the BitAND() function to determine if a given > address is on a particular subnet. My concern is that IP addresses are 32 bit > unsigned numbers, but if I'm not mistaken, CF numeric variable are 32 bit > signed. > > Jim ______________________________________________________________________ Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

