getLocalIP

@Nullable
open fun getLocalIP(): @Nullable InetAddress

Returns the local IP of this client.

Return

The local IP or null if no connection is available.