Discussion of article "Working with sockets in MQL, or How to become a signal provider" - page 4
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
1) If the client rarely sends data to the server (less than once an hour), then you need to ping the channel. for example, from the client to the server once every few minutes, so that the activity of the connection is maintained in the OS.
2) in case of sending / receiving error do CloseClean() so that the socket goes to INVALID_SOCKET and you reconnect.
Am I right to understand that by pinging a channel you mean performing the select function for the socket you plan to use?
New article Manipulating Sockets in MQL, or How to Become a Signal Provider has been posted:
Author: o_O
Can you please tell me how to fix this error?
The code is as follows:
请教下,怎么修复这个错误?
代码如下:
请教下,怎么修复这个错误?
代码如下:
use https://c.mql5.com/3/125/MQL5.zip
use https://c.mql5.com/3/125/MQL5.zip
can be substituted.
MQL5 will soon have raw client (without servers) network functions, including UDP.
Control by allowed lists of IP addresses and URLs, as it works now for WebRequest.
I don't think it's available yet, if I missed something?
Is this still planned?
I don't think it's already available unless I missed something ?
Is it still planned ?