ok this is in a unicode app.
TCHAR ipadd[128];
_stprintf(ipadd , _T("IP: %s") , inet_ntoa(from.sin_addr));
it shows as
IP: wierd asian looking chars
any one know why this is?
thanks.
This is a discussion on Winsock problem within the Windows Programming forums, part of the Platform Specific Boards category; ok this is in a unicode app. TCHAR ipadd[128]; _stprintf(ipadd , _T("IP: %s") , inet_ntoa(from.sin_addr)); it shows as IP: wierd ...
ok this is in a unicode app.
TCHAR ipadd[128];
_stprintf(ipadd , _T("IP: %s") , inet_ntoa(from.sin_addr));
it shows as
IP: wierd asian looking chars
any one know why this is?
thanks.