jnr / jnr-netdb

Network services database access for java
Other
12 stars 4 forks source link

jnr-netdb is a java interface to getservbyname(3), getservbyport(3).

It tries to use the native functions if possible, falling back to parsing /etc/services directly, and finally to an inbuilt table for use in environments where neither native code, nor filesystem access is possible.