Description:
I’m using this code for a script i have so i deleted the protocol mqh library, but it should still work. I made ryaz’s winsock server example into some utility functions.
Report any bugs or improvements back please! Hope you find tcp sockets as simple as they should be = open connection, accept connection, receive connection, close connection.
Thanks 🙂
note that you can change the receive buffer size, the max amount of characters that we can receive, in the sockets.mqh file. Currently it is at 200 characters.