With CSocket, I want to make a connect with an IP address.
CSocket client;
client.Create();
client.Connect(IP, 80);
But IP is defined WCHAR ip[16];
client.Connect(IP, 80) requires IP is LPCTSTR type
How can I convert from WCHAR to LPCTSTR ?