fix: replace localhost to 127.0.0.1

This commit is contained in:
DeEMO 2025-06-17 11:27:58 +08:00
parent fbbc30c950
commit 104e3b2356
3 changed files with 17 additions and 17 deletions

View file

@ -4,4 +4,4 @@
typedef unsigned int uint32_t;
bool isPortOpen(const std::string& ip, uint32_t port, int timeout_sec = 2);
bool is_port_open(const std::string& ip, uint32_t port, int timeout_sec = 2);