"lucaddr" <lucaddr> ha scritto nel messaggio news:348777@...
Si è un integer.
Su un forum ho letto che un ragazzo ha risolto cosi...in VBs.
1. read the integer value from the msRADIUSFramedIPAddress attribute = 168846386
2. convert it to binary and represent as 4 x 8 bit octets
= 00001010 00010000 01100100 00110010
3. convert each octet to its decimal equivalent
= 00001010 . 00010000 . 01100100 . 00110010
. or ...
= 10 . 16 . 100 . 50
Un'operazione più lunga non c'era?

Scherzi a parte, prova il mio codice con quel valore nell'Uint e vedrai che dovresti avere lo stesso risultato

int32 ha come limite:
~-2.000.000.000 e + 2.000.000.000 (circa).
Uint32:
0 e 4.194.000.000 (circa)
Il valore 168846386 è eseguito correttamente perché è inferiore a 2 miliardi. Oltre avresti il problema del numero negativo.
Ciao