Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1058943
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T18:05:55+00:00 2026-05-16T18:05:55+00:00

I need something like the C function getservbyname() for a Java application. I’ve got

  • 0

I need something like the C function getservbyname() for a Java application. I’ve got to parse a configuration file that might contain either a port number or the service name, and in the latter case, I need to convert this to a port number to pass on to a library. I found this bug and was a bit astonished that the question was asked in 1997 (!) and not even considered for implementation for 13 years. I don’t really want to do the platform-specific parsing stuff for myself – is there any other way?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T18:05:55+00:00Added an answer on May 16, 2026 at 6:05 pm

    In this question I found a library here which seems to do its best to provide thid functionality cross platform.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

How to send a table to function as argument? Need something like that: CREATE
I have something like this: function showFunction () { // need position and place
Normally, we get first value that way: $(#color option:first).val() But I need something like
What I need is something like this: /<[\w\d]+ ([\w\d]+\=[w\d])+\/>/ Something that would match several
I think I need something like ruby's splat * here. function foo() { var
I need something like so function updateRender(ClassName){ if(!(this.currentRender instanceof ClassName)){ doPreprocessing(); this.currentRender = new
How can I declare a function inside GSP? I need something like taglib but
Inside a Matlab function I need something like (as you can imagine in real
Possible Duplicate: Check if object is a jQuery object I need something like: function
I need something like make i.e. dependencies + executing shell commands where failing command

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.