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

  • Home
  • SEARCH
  • 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 3405334
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T05:29:34+00:00 2026-05-18T05:29:34+00:00

We have some services utilizing SunRPC on Linux (RHEL 4/5) that we’d like to

  • 0

We have some services utilizing SunRPC on Linux (RHEL 4/5) that we’d like to speed up.

Our RPC call require no return value, though by the nature of RPC, an ack is always sent anyway. This introduces latency that’s recently become a problem – when run over a reliable transport (TCP), we’d hope to avoid the latency introduced by the RPC reply.

Docs here indicates Solaris has the “oneway” keyword enabling just that, though Linux/glibc does not seem to support this.

Is there any way we can enable “streaming” or one-way messaging with SunRPC on Linux ?

  • 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-18T05:29:35+00:00Added an answer on May 18, 2026 at 5:29 am

    There are two changes that must be made to the standard clnt_call() invocation in order to obtain an asynchronous (or “batched”) RPC call: the argument that’s the pointer to the XDR function for the reply data-structure must be NULL and the timeout argument must be zero, i.e.,

    static struct timeval ZERO_TIMEOUT = { 0, 0 };
    static char clnt_res;
    memset((char*)&clnt_res, 0, sizeof(clnt_res);
    if (clnt_call(clnt, messageType, (xdrproc_t)xdr_messageType_t, (caddr_t)argp,
                (xdrproc_t)NULL, (caddr_t)&clnt_res, ZERO_TIMEOUT) != RPC_SUCCESS) {
        ...
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Some existing web services I consume have methods that look something like this: List<Employee>
We have some applications (web and WPF) that call WCF services to access data.
I have some reports in SQL Server Reporting Services 2005 that I need to
I have found some libraries or web services in PHP that does the job.
Problem: We have a web app that calls some web services asynchronously (from the
I have a winform application that uses some referenced web services to get data.
I have some services that an application needs running in order for some of
I have some WCF services that are hosted by IIS with ASP.Net compatibility turned
I have some windows services written in C#. When somebody stops or starts the
I have some ASP.NET web services which all share a common helper class they

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.