add loopback constants

This commit is contained in:
Doug MacEachern 2006-02-28 19:18:46 +00:00
parent 6e7cf6f585
commit c97c11fe4b
1 changed files with 4 additions and 0 deletions

View File

@ -14,6 +14,10 @@ public class NetFlags {
public static final String ANY_ADDR = "0.0.0.0"; public static final String ANY_ADDR = "0.0.0.0";
public static final String LOOPBACK_HOSTNAME = "localhost";
public static final String LOOPBACK_ADDRESS = "127.0.0.1";
/** /**
* interface is up * interface is up
*/ */