Hi I am trying to convert char *str = "10.20.30.40" ; in to unsigned int . can u pls tell me any method is there or any sample code . pls share me.
                +6 
                A: 
                
                
              Guessing at what you actually want to do, take a look at the functions inet_addr and inet_aton.
                  Jon Bright
                   2009-08-27 12:27:54
                
              1+ A very qualified guess.
                  Skurmedel
                   2009-08-27 12:29:13