Need help please - UDP packet instead of email alert

 
Hi all,

i have a problem to solve and would be thankful for help.

Is there any way to use UDP for MT4 alerts?

https://en.wikipedia.org/wiki/User_Datagram_Protocol

In the moment my indi alerts by email, but i need a function in MT4, that sends this email alert triggered by an normal indicator as a UDP packet instead of email.

Does anyone knows, how i can solve that...

Thank you very much for help

Best wishes Jo

User Datagram Protocol - Wikipedia, the free encyclopedia
  • en.wikipedia.org
UDP uses a simple connectionless transmission model with a minimum of protocol mechanism. It has no handshaking dialogues, and thus exposes any unreliability of the underlying network protocol to the user's program. There is no guarantee of delivery, ordering, or duplicate protection. UDP provides checksums for data integrity, and port numbers...
 
You need to use WinApi for such things, nothing standard in mql4 available.
 
Alain Verleyen:
You need to use WinApi for such things, nothing standard in mql4 available.

Thank you Alain,

 

means need to be coded in C or C++...

or must be coded in MQ4? 

 
Joachim Reichelmann:

Thank you Alain,

 

means need to be coded in C or C++...

or must be coded in MQ4? 

Could be coded in mql4 (I guess) but using WinApi call (MSDN functions).
 
Alain Verleyen:
Could be coded in mql4 (I guess) but using WinApi call (MSDN functions).
Can you code this Alain?
 

I have a plugin for MT4 that I use for cross-platform communication that I can send along if you like. It's just a standard DLL that takes a name and has dummy slots that are then synced on the other side. ip/port specified by external config file. 

Reason: