Added static method to xiSocket for filling the address struct of ipV4 addresses