Hi Emmanuel,

Emmanuel Bourg wrote:

> Le 02/04/2012 16:41, Jörg Schaible a écrit :
> 
>> do we have somewhere an equivalent for the C system call getservbyname in
>> commons?
> 
> You mean something that map a service name (http, ssh) to a port number
> (80, 22) ?

Right. Best would be a system call, but I can also live with some 
functionality that parses the etc/services in Linux/Windows directly. For 
support in the Java runtime I only found a 15 year old enhancement request 
in Oracles Bugzilla ... :-/

- Jörg


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@commons.apache.org
For additional commands, e-mail: user-h...@commons.apache.org

Reply via email to