If you want useful answers to your queries, please describe your issues clearly and in detail.
Also provide sample code of your coding attempts. Use the CODE button (Alt-S) when inserting code.
MQL5 does not natively support Websockets, only Sockets and a simple HTTP client, namely WebRequest.You would have to code your own Websockets code using the Sockets functionality.
However, all the natively supported network functionality is client-only and the URLs need to be allowed in the terminal's options.
- www.mql5.com
Hello
I need make connection between mql5 and real server by using Socket IO Client live connection
I tried WebSocket and normal Socket and WebRequest the mt5 cannot make this connection because it send get request .I do not need http connection i need Tcp connection
I also tried c# dll file in the dll mt5 return cant found SocketIO library
I was read the documentation and I dont found any solution ... if any one can help me
this is example .Net dll
Thanks
try this library :
Socket library for MT4 and MT5 - Other - 6 September 2017 - Traders' Blogs (mql5.com)
- 2017.09.06
- www.mql5.com
MQL5 does not natively support Websockets, only Sockets and a simple HTTP client, namely WebRequest.You would have to code your own Websockets code using the Sockets functionality.
However, all the natively supported network functionality is client-only and the URLs need to be allowed in the terminal's options.
wesam kheer:
I need make connection between mql5 and real server by using Socket IO Client live connection
I tried WebSocket and normal Socket and WebRequest the mt5 cannot make this connection because it send get request .I do not need http connection i need Tcp connection
I also tried c# dll file in the dll mt5 return cant found SocketIO library
I was read the documentation and I dont found any solution ... if any one can help me
this is example .Net dll
Your example code is for C#, not MQL5, so we cannot test and evaluate it.
Show a proper MQL5 attempt with either native sockets or Webrequest and show the debugging log output for the attempt.
Also remember to enable the URLs in the terminal options.
We cannot help you if you don't provide proper technical details and a functional example to test and evaluate.
There are also many example Articles ...
- Search in Articles with keyword "webrequest" — https://www.mql5.com/en/search#!keyword=webrequest&module=mql5_module_articles
- Search in Articles with keyword "sockets" — https://www.mql5.com/en/search#!keyword=sockets&module=mql5_module_articles
There are also many example Articles ...
- Search in Articles with keyword "webrequest" — https://www.mql5.com/en/search#!keyword=webrequest&module=mql5_module_articles
- Search in Articles with keyword "sockets" — https://www.mql5.com/en/search#!keyword=sockets&module=mql5_module_articles
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hello
I need make connection between mql5 and real server by using Socket IO Client live connection
I tried WebSocket and normal Socket and WebRequest the mt5 cannot make this connection because it send get request .I do not need http connection i need Tcp connection
I also tried c# dll file in the dll mt5 return cant found SocketIO library
I was read the documentation and I dont found any solution ... if any one can help me
this is example .Net dll
Thanks