I am trying to create a Telnet client, but for the life of me, can not get the winsock to connect...

Can anyone point me in the right direction?

Thanks!!