I have an requirement where i need to supply IP address and Port number of currently Connected Wifi network.
I am getting IP address
using WifiInfo
class having getIpAddress()
method.
But i am not able to get Port number.. Kindly provide an appropriate solution../