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.
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.