In fact I need the below communication model:
1. one server and some clients, client has server address, and server don't
known client address, client connect to server first;
2. any client can send message to the server at anytime, the server can send
reply to this client, or don't reply;
3. the server can broadcast message to all clients at anytime
------------------ Original ------------------
From: "Dan Liu";<139250065@xxxxxx>;
Date: Fri, Feb 26, 2016 03:42 PM
To: "nanomsg"<nanomsg@xxxxxxxxxxxxx>;
Subject: [nanomsg] can server send reply to client without request in nanomsg
request-reply mode?
Hello all:
In nanomsg request-reply mode, does server must receive request firstly,
then the server can send reply to client? Or does the server can send a msg to
client firstly without client's request?
with best regards
daniel