都试过TCHAR回复
error C2664: 'MultiByteToWideChar' : cannot convert parameter 5 from 'char [2048]' to 'unsigned short *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
改CHAR也不行啊error C2664: 'MultiByteToWideChar' : cannot convert parameter 5 from 'char [2048]' to 'unsigned short *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
用UNICODE我想是作者要显示IP地址和兼容性考虑吧