When i connect to my mail server using winsock, it cannot get to sckConnected state of 7. It gets to 6 which is connecting and just stays there. Is there something missing needed to allow the socket to establish a full connection?

I get a data arrival but of course i cant use GetData at sckConnecting state because it causes a run time error. Help!!