Web sockets

 

hello everyone 
i was reading through the MQL4 references and i noticed something in the sockets section.


Notes: To free up computer memory from an unused socket, call SocketClose for it.

my question is , how much memory does a socket consumes ?  i mean lets assume if i have 10 sockets opened , then is it something to worry about ? in terms of computer memory consumption ?

Documentation on MQL5: Network Functions / SocketClose
Documentation on MQL5: Network Functions / SocketClose
  • www.mql5.com
//|                                                SocketExample.mq5 | //|                        Copyright 2018, MetaQuotes Software Corp. | //|                                             https://www.mql5.com | "Add Address to the list of allowed ones in the terminal settings to let the example work...
 

mql4 doesnt support Socket.

A Web socket is not the same as a socket.

You don't have to worry about socket memory consumption but only to free the memory.

 
Alain Verleyen:

mql4 doesnt support Socket.

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

 
You know very well I meant mql socket functions, which is was the OP was talking about.