MCPcopy Index your code
hub / github.com/processing/processing / ip

Method ip

java/libraries/net/src/processing/net/Server.java:201–208  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

199
200
201 static public String ip() {
202 try {
203 return InetAddress.getLocalHost().getHostAddress();
204 } catch (UnknownHostException e) {
205 e.printStackTrace();
206 return null;
207 }
208 }
209
210
211 // the last index used for available. can't just cycle through

Callers

nothing calls this directly

Calls 1

printStackTraceMethod · 0.45

Tested by

no test coverage detected