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 6192825
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T03:00:43+00:00 2026-05-24T03:00:43+00:00

I am using xmlrpc-c library (c++ version) to write a program. I find that

  • 0

I am using xmlrpc-c library (c++ version) to write a program. I find that there is no way to configure the xmlrpc server’s host. I can only configure the port like below. Can anyone tell me how to configure the hostname for this server?

xmlrpc_c::registry myRegistry;
xmlrpc_c::defaultMethodPtr const XMLRPCMethodP(handler);
//myRegistry.addMethod("method", XMLRPCMethodP);
myRegistry.setDefaultMethod(XMLRPCMethodP);
webServer = new serverAbyss(xmlrpc_c::serverAbyss::constrOpt()
                            .registryP(&myRegistry)
                            .logFileName("/tmp/xmlrpc_log")
                            .portNumber(8183)
                            .uriPath("/")
                            );  // Currently, there is no way to configure Host here.

try {
    webServer->run();
} catch (std::exception &e) {
    cout << e.what() << endl;
}
  • 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-24T03:00:43+00:00Added an answer on May 24, 2026 at 3:00 am

    This is a server, so it listens for connections on the given port on the machine you are running it on. Giving it a hostname does not make much sense. You can, of course, specify a host to connect to on the client, see here. Or you are talking about binding the server to a particular network interface? I don’t think the library supports that.

    Edit 0:

    I think you should be able to use the socketFd and socketBound options if you need to listen on given interface – create your own socket, bind it to whatever, pass it to the API. That’s just from looking at their source, so I have no idea if this actually works.

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

Sidebar

Related Questions

Is there a way to view the actual underlying xml data that the cookcomputing.xmlrpc.net
How using Python I can dynamically generate my call to my xmlrpc server using
I am using xmlrpc-c library (http://xmlrpc-c.sourceforge.net) and I am writing both the server and
It's pretty hard to find information about XMLRPC.net library used with https. The only
Using online interfaces to a version control system is a nice way to have
Using PyObjC , you can use Python to write Cocoa applications for OS X.
Using ASP.NET MVC there are situations (such as form submission) that may require a
Using C# and System.Data.SqlClient, is there a way to retrieve a list of parameters
I'm creating an XML-RPC server in Java using the Redstone XML-RPC library . The
I have an xmlrpc server using Twisted. The server has a huge amount of

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.