Send orders to MT4 from Java via IP - page 5

 
JC: Can't be bothered to wait for the support desk to respond twice. Published as a blog entry following Fernando's suggestion: https://www.mql5.com/en/blogs/post/706665
Thank you for the great contribution. I will be needing such functionality in the near future and you have just saved me from having to write something up myself.
 
JC:

I posted a separate socket library at https://www.mql5.com/en/forum/203049#comment_5232176

I then tried submitting a combination of the code in these two threads to the codebase, but MQ Support couldn't handle the fact that it worked on both MQL4 and MQL5, whereas the codebase requires separate sections for MQL4 and MQL5. It's been sitting in codebase since June waiting for proofreading by MQ. I might give up and just post it as a forum topic...

Hi, 

Guys where can I find client implementation for MQL4?

 
leonerd:

Hi, 

Guys where can I find client implementation for MQL4?

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

looks like I found

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...
 

This one is only for sending data. Is there client socket library for receiving?

 
leonerd:

This one is only for sending data. Is there client socket library for receiving?

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:

This one is only for sending data. Is there client socket library for receiving?

Check this basics of...Socket Programming
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...
 
MAN! You saved my life!!! Thank you so much