[nanomsg] Re: Does nanomsg have a client/server mode?

  • From: norsd2004 <norsd2004@xxxxxxxxx>
  • To: "nanomsg@xxxxxxxxxxxxx" <nanomsg@xxxxxxxxxxxxx>
  • Date: Fri, 27 Dec 2013 19:59:39 +0800

ok I get it. thank you very much.

Sent from my iPhone

> On 27 Dec 2013, at 12:08, Martin Sustrik <sustrik@xxxxxxxxxx> wrote:
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
>> On 27/12/13 02:02, Noriko Sd wrote:
>> 
>> I'm using nanomsg for about 2 weeks , and I found it was elegant
>> and great. It makes me easily to complete some communication with
>> components. But for now I want to known does nanomsg have a
>> client/server mode? In survey mode all client sockets will receive
>> the msg from server sockets. What should I do to make server
>> socket(using bind) to send a msg to a certain client socket(using
>> connect)  and other client sockets will not receive the msg?
> 
> For example, pipeline protocol will send message to the one of the
> clients, i.e. it will load-balance messages among the clients.
> 
> If, on the other hand, you want to send data to a particular client,
> simply use TCP rather than nanomsg to do that.
> 
> Martin
> 
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.11 (GNU/Linux)
> Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
> 
> iQEcBAEBAgAGBQJSvP0aAAoJENTpVjxCNN9YkJgH/1cGSM2Pn6ZCM6ESsudnG771
> IIQ4lp5HSyEn2aB60HTitOHNs3nwoyouCIi9WBg/X2a6GrGu2wVULdPtjZMm1LVR
> OJLxtQ6OFxWyGXWLcLIlJ4VbdLqy9Pbo+9JGoukvu54lYSF5wyM9cqBYRTmwA1iF
> XvtiwB4nWKivDkTmFNHOuLbU6pPv147VdeJPjoZeb3gFW2iCf1z6kxvhTXGkcFqz
> 3/SVY811nLGSc1PoHzXS9cdTtzZyXrwLIZRTkyivad3lsjAWPGoQurWJia9g1gpb
> 1l7AgypUv0ZDru1ht8ypDhZ2aZ8XVmaJjVfwCCW11yD1QdCW6IV+9ra8keRLfpM=
> =atBE
> -----END PGP SIGNATURE-----
> 

Other related posts: