const char* bufmessage = PlayerLocation; int sendOK = sendto(out, bufmessage, strlen(bufmessage), 0, (sockaddr*)&server, sizeof(server));
没有合适的FString到const char*的转换。
https:/forums.unrealengine.comdevelopment-discussionc-gameplay-programming1749308-how-do-you-convert-fstring-in-char。
感谢为Stack Overflow贡献答案!感谢为Stack Overflow贡献答案!感谢为Stack Overflow贡献答案!