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.
请先登录再写评论。
This task isn't related to IDE, so I doubt that we have such utility in Open API. You can use java.net.NetworkInterface class from JDK for that.