add note about localhost address return
Quick compatiblity for MacOS systems
replace uint with 'unsigned int' to be consistent with the types used in other parts