CodePudding
Home
front end
Back-end
Net
Software design
Enterprise
Blockchain
Mobile
Software engineering
database
OS
other
Home
>
other
> This error can change
This error can change
Time:09-21
INT getaddrinfo (PCSTR, PCSTR, const ADDRINFOA *, PADDRINFOA *) : cannot convert parameter 1 from "_TCHAR" to "PCSTR"
CodePudding user response:
Use first WideCharToMultiByte translate TCHAR, pass getaddrinfo again
Page link:
https//www.codepudding.com/other/18946.html
Prev:
Seek help from bosses, inside and outside the network on a computer at the same time
Next:
Metropolitan area equipment selection problem.
Tags:
Network communication
Related
Links:
CodePudding