Hi:

I'm a newbie Visual C ++ programmer, and I'm trying to do a Simple chat using winsock.ocx, I have already done one in VB5 but now I would like to do it in VC.

Mainly, i'm having problems with .Connect metod, I don't understand what Const VARIANT &RemoteHost and Const VARIANT &RemotePort means.

PD: I have a chat example but it uses API and i would like to do it just using winsock.ocx.

Thanks and I hope you help.