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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T02:22:45+00:00 2026-06-06T02:22:45+00:00

In the ZeroMQ documentation for a REP socket it says: If the original requester

  • 0

In the ZeroMQ documentation for a REP socket it says:

If the original requester doesn’t exist any more the reply is silently discarded.

In my project, I’d like to have some way of knowing that the entity that made the original request is no longer present and listening for a reply. In other words, I’d like an error to be thrown if the reply is going to be discarded.

Is such a thing possible, or must I use some separate channel to check on the requestor or some kind of ACK upon its receipt of the reply?

  • 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-06-06T02:22:47+00:00Added an answer on June 6, 2026 at 2:22 am

    You should use a separate channel to track the requester since zmq sockets have no way to know that.

    You could use request/reply sockets in reverse for that purpose but may suffer from performance issues because inherently you will be making another request/reply before making a reply.

    Entity1                 Entity2
    Request --------------   Reply
    Reply   --------------   Request
    

    and communication flow would be

    Entity1 --------> request -----> Entity2
    Entity1 <-------  request <----- Entity2
    Entity1 --------  reply   ------> Entity2
    Entity1 <-------  reply   ------- Entity2
    

    This in now way provides guarantee that Entity1 would not be available for receiving the reply but improves it’s probability.

    How ever, it may not be a good idea to rquire requester state to be known to replier.

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

Sidebar

Related Questions

Using a ZMQ.SocketType.REP (reply) messaging socket with ZeroMQ, I am receiving messages and then
I'm refering to the 'A Request-Reply Broker' in the Zeromq documentation: http://zguide.zeromq.org/chapter:all I'm getting
I am using ZeroMQ socket library in my web application. I have configured php.ini
In C/C++ like languages, closing zeromq socket explicitly is a must, which I understand.
While poking around zeroMQ (A very useful socket replacement for those who don't know)
I wanted to add a ZeroMQ socket to a glib program. The pitty is,
What is the purpose of getSocket(type,persistence_id,callback) in zeromq? Will it create a new socket
I'm working on a project that uses both .net and java, using zeromq to
I see this new NGINX+ZeroMQ project on github and am now confused. What are
I'm debugging some zeromq code and I would like to log socket instance send/recv.

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.