MT4 Socket communication

 

Hi,

Could somebody help to fix bug in this winsock library?

Or has anyone an DLL that can be used in mt4 for socket communication ?

I think issue is in in struct2string ,becasue is not working and I can`t find out whats is wrong.

I get instead Hello and hhhhhhhlllloooo.

Or has anybody an DLL that use sockets ?

thx a lot fo sharingwinsock.mqh

Files:
winsock.mqh  13 kb