通过IP从Java发送订单到MT4 - 页 5

 
JC: 懒得等支持台的两次 回应。按照费尔南多的建议以博客形式发表:https://www.mql5.com/en/blogs/post/706665
谢谢你的伟大贡献。我在不久的将来会需要这样的功能,你让我不用自己写东西了。
 
JC:

我在https://www.mql5.com/en/forum/203049#comment_5232176 上发布了一个单独的套接字库

然后我试着把这两个线程中的代码组合提交给代码库,但MQ支持部无法处理它在MQL4和MQL5上都能工作的事实,而代码库要求为MQL4和MQL5分开。从六月开始,它就一直在代码库中,等待MQ的校对。我可能会放弃,直接把它作为一个论坛主题发布......

嗨。

我在哪里可以找到MQL4的客户端实现?

 
leonerd:

你好。

伙计们,我在哪里可以找到MQL4的客户端实现?

https://www.mql5.com/en/forum/203049#comment_5231381

看起来我找到了

Raw Socket Client for MT4???
Raw Socket Client for MT4???
  • 2017.06.02
  • www.mql5.com
Hello, I currently have a (raw) socket server by python/php and I want to get Tick() of many pairs from MT4 to this server...
 

这个只用于发送数据。有没有用于接收的客户端套接字库?

 
leonerd:

这个只用于发送数据。是否有用于接收的客户套接字库?

https://www.mql5.com/en/blogs/post/706665

Socket library for MT4 and MT5
Socket library for MT4 and MT5
  • 2017.09.06
  • www.mql5.com
For anyone not used to socket programming: the model is that you create a server socket; you accept connections on it; and each acceptance creates a new socket for communicating with that client. No data is sent or received through the server socket itself. You create a server socket using an instance of ServerSocket(), telling the constructor...
 
leonerd:

这个只用于发送数据。是否有用于接收的客户套接字库?

查看 这个基础知识......套接字编程
Java Socket Programming
  • net-informations.com
A socket is one of the most fundamental technologies of computer network programming . It is a way of connecting two nodes on a network to communicate with each other. Socket-based software usually runs on two separate computers on the network, but sockets can also be used to communicate locally (interprocess) on a single computer. The Java...