File tree Expand file tree Collapse file tree 1 file changed +0
-16
lines changed
android/app/src/main/java/com/coboltforge/dontmind/multivnc Expand file tree Collapse file tree 1 file changed +0
-16
lines changed Original file line number Diff line number Diff line change @@ -95,22 +95,6 @@ public static NetworkInterface getActiveNetworkInterface() {
9595 return null ;
9696 }
9797
98-
99- public static InetAddress intToInetAddress (int hostAddress ) {
100- InetAddress inetAddress ;
101- byte [] addressBytes = { (byte ) (0xff & hostAddress ),
102- (byte ) (0xff & (hostAddress >> 8 )),
103- (byte ) (0xff & (hostAddress >> 16 )),
104- (byte ) (0xff & (hostAddress >> 24 )) };
105-
106- try {
107- inetAddress = InetAddress .getByAddress (addressBytes );
108- } catch (UnknownHostException e ) {
109- return null ;
110- }
111- return inetAddress ;
112- }
113-
11498 public static void copy (InputStream in , OutputStream out ) throws IOException {
11599 byte [] buffer = new byte [4096 ];
116100 int read ;
You can’t perform that action at this time.
0 commit comments