dingmaotu / mql-zmq

ZMQ binding for the MQL language (both 32bit MT4 and 64bit MT5)
Apache License 2.0
561 stars 303 forks source link

Simple server #61

Closed lucapaganotti closed 1 year ago

lucapaganotti commented 3 years ago

Hi, thanks for your good job on zmq lib for Metatrader,

I don't know if this is a real issue so I'm asking here anyway. I've been doing some test on my MT4 platform for a couple of days, I'm able to correctly open a socket versus a remote machine from a MT4 EA and to send my messages as I want, and this is fine.

Unfortunately I'm not able to run correctly even the simple server example for MT4 accepting remote connections and answering in the "Hello World" fashion. I'm on a Windows 10 pro box, all system updated to recent version, the windows firewall has been setup correctly to allow incoming connections on a predefined port. I also tried to completely disable the windows firewall, but no message is incoming ...

Curiously if I take the same code on a debian buster box running MT5 in wine emulation the simple server example receives messages I send for example with a netcat command locally.

May be I'm missing something, thanks for any reply, have a good day!

dingmaotu commented 1 year ago

Sorry, but I'm afraid I don't have any solution (I mostly use this lib for local inter-process connections). Since its 2 years ago and it should be a system configuration problem I'll close this issue.