i have tried the same code that is given in sdk for changing the device name but it doesnt change the actual device name. it changes only the local variable as mentioned in sdk.
before setting device name if i try to get the device name using gethostname().it returns just blank.and if i get the the device name after setting it through sethostname().it gives me proper name .but i wanted the actual device name to be changed that is not happening.when i search for the device it appears to be unchanged name .so plz help me achieving same.
please reply to it as soon as possible.