so assume I have a socket called S, it's listening for tcp requests
IP address X sent a connection request, at this stage I have the option to accept it, but first I want to just print the IP address
there is no error I straight up don't have the slightest idea on how to do this, I tried googling, went thru the docs, nothing was of any help, thanks in advance guys