title: How to get Port number of wifiNetwork active currently in android
body: <p>I have an requirement where i need to supply IP address and Port number of currently Connected Wifi network.</p>
  
  <p>I am getting <code>IP address</code> using <code>WifiInfo</code> class having <code>getIpAddress()</code> method.</p>
  
  <p>But i am not able to get Port number..
  Kindly provide an appropriate solution../</p>