Connection to forex server - Technical information

 

I'm writting a code in visual basic to make a more precise EA.

I want to connect the vb program to the forex server for login and receive information of the current currency pair. I want to know where can I find information since I'm coding the winsock control and I've to send commands to the server to retrieve the desired info.