fix socket hello world function