Dan Anderson

Greenhorn
+ Follow
since Jun 30, 2001
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Dan Anderson

I wrote a method to search the /etc/services file
(or /etc/inet/services or c:\winnt\system32\drivers\etc\services).


It is at
<A HREF="http://www.dan.drydog.com/java/GetServiceByName.java</a rel="nofollow">" TARGET=_blank>http://www.dan.drydog.com/java/GetServiceByName.java


This isn't a part of Java because someone apparently thought
it's a system-dependent function.
With all due respect, this is not a system-dependent
function. The implementation may be (such as the location of
the /etc/services file or whether it's a flat file or database),
but the function can be implemented on any system.
I wrote a method to search the /etc/services file
(or /etc/services or c:\winnt\system32\drivers\etc\services).


It is at
<A HREF="http://www.dan.drydog.com/java/GetServiceByName.java</a rel="nofollow">" TARGET=_blank>http://www.dan.drydog.com/java/GetServiceByName.java


With all due respect, this is not a system-dependent
function. The implementation may be (such as the location of
the /etc/services file or whether it's a flat file or database),
but the function can be implemented on any system.
20 years ago