Any kind of NetworkUtils?


Is there by any chance a network utility in Open API that allows me to check which network interface is being used, machine's IP address on that interface, etc?

The plugin is going to run a websocket server and clients (android devices) are supposed to connect via wifi interface. The original idea is to communicate server's IP via adb to clients, so they can establish a websocket connection. Could you validate this scenario? Are there any better ways to make plugin talk (both ways) to connected devices?


Thank you.

1 comment

This task isn't related to IDE, so I doubt that we have such utility in Open API. You can use class from JDK for that.


Please sign in to leave a comment.