getportbyname in Java?

Alan Bateman Alan.Bateman at oracle.com
Wed Nov 14 00:38:00 PST 2012


On 14/11/2012 00:40, Weijun Wang wrote:
> Is there a Java API I can translate "http" to 80?
>
> Thanks
> Max
There is a long standing enhancement request, see:

http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4071389

and a prototype API was created about 10 years ago. There wasn't a lot 
of interest at the time so it didn't go any further.

-Alan



More information about the net-dev mailing list