I\'m creating a client/server socket and I need to get the sockets server IP using the sockaddr_in function getsocketname(). However, I\'m not sure how to d