This commit is contained in:
sakitsuki_asahi
2025-08-03 15:12:04 +09:00
parent ff623014d4
commit 39c4286864
+1 -1
View File
@@ -170,7 +170,7 @@ int main(int argn,char* argc[]){
addrinfo hints{};
memset(&hints, 0, sizeof(hints));
hints.ai_family = AF_UNSPEC; // 接受IPv4/IPv6
hints.ai_family = AF_UNSPEC;
hints.ai_socktype = SOCK_DGRAM;
std::cout << "UDP socket opened on port " << port << "\n";
if(send_mode){