getIpAddress

open fun getIpAddress(socket: Socket): String

This method is used to get an ip address from a Socket

Return

ip address as String

Parameters

socket

: socket from fetch the ip