Sharing context between mql programs in the same Terminal; add new examples
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user