opened socket, getting iP address