Example:
Main Server that sends info to 10 other (remote) Clients.
Connecting through sockets works like a charm, but is it possible to have 10, 100 or more sockets opened to send info at the same exact moment ?
The only idea I had is to loop Opening and Closing sockets, but that is sooo time consuming and the delays are tremendous.
Anyone with a hint here ?
Thanks in advance !
- Listen to socket port
- Who can share their experience of using Push notifications in MetaTrader 4 / MetaTrader 5 using MetaQuotes ID?
- Machine learning in trading: theory, models, practice and algo-trading
Krzysztof Jan Debski:
Example:
to send all at once, udp must be used but not reliable. i think socket in mql5 is unicast. Either you build a custom solution (localhost socket server) to handle the data transmission to respective receiver outside of mql runtime or live with the way how its supposed to be done in mql
Example:
Main Server that sends info to 10 other (remote) Clients.
Connecting through sockets works like a charm, but is it possible to have 10, 100 or more sockets opened to send info at the same exact moment ?
The only idea I had is to loop Opening and Closing sockets, but that is sooo time consuming and the delays are tremendous.
Anyone with a hint here ?
Thanks in advance !

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register