Giter Club home page Giter Club logo

Comments (3)

gdamore avatar gdamore commented on July 4, 2024

This protocol does not let you send directed messages to a specific client.

from nng.

waxwax0099 avatar waxwax0099 commented on July 4, 2024

Thank you.
I'm trying a way, register through nng_pipe_notify, apply a new context in the callback function, associate the pipe with the context, keep the context to communicate with the specific client in the future.
But the problem is, how to associate the pipe with the newly created context?

from nng.

gdamore avatar gdamore commented on July 4, 2024

Generally what you want to do isn't possible for ordinary applications. This kind of thing is the purview of protocol implementations -- you could see for example how REQ/REP do it, or how PAIRv1 does it.

The goal of Scalability Protocols is to solve these common kinds of problems for you, so that you don't have to do it yourself. Unfortunately, not everyone's scenario always fits, but a significant percentage of them do.

from nng.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.