How to make a telnet connection using metatrader network funcions

 
Hi, anybody knows how to make a telnet connection using metatrader network funcions or with any another method?
 
Reno Sampaio Mesquita Martins: Hi, anybody knows how to make a telnet connection using metatrader network funcions or with any another method?

It is the same as any other language that supports Sockets. You have to implement the Telnet protocol. So, study how sockets work, learn how the Telnet protocol works and then implement it the same as you would in similar languages. You might find a C or C++ version with source code available on the net, which you can then port to MQL.

 
Fernando Carreiro:

It is the same as any other language that supports Sockets. You have to implement the Telnet protocol. So, study how sockets work, learn how the Telnet protocol works and then implement it the same as you would in similar languages. You might find a C or C++ version with source code available on the net, which you can then port to MQL.

All the problem was a dead telnet server I was using to test, tried another one and everything worked automatically with network functions only!


Thanks!