Quantcast
Channel: VMware Communities: Message List - How to get currently-connected server?
Viewing all articles
Browse latest Browse all 8

Re: How to get currently-connected server?

$
0
0

One simple way could be to use Vim::get_service_url().  This will return the full URL which you can parse.  I'm not sure if there is a simple host portion, but you could instantiate a URI object from the service_url and extract the host part.


Viewing all articles
Browse latest Browse all 8

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>