Sharing context between mql programs in the same Terminal; add new examples

This commit is contained in:
Ding Li
2017-05-26 13:02:23 +08:00
parent 1450c16b36
commit 29b5b9e36e
10 changed files with 225 additions and 15 deletions
@@ -15,12 +15,12 @@
//+------------------------------------------------------------------+
void OnStart()
{
Context context;
Context context("helloworld");
Socket socket(context,ZMQ_REP);
socket.bind("tcp://*:5555");
while(true)
while(!IsStopped())
{
ZmqMsg request;