mirror of
https://github.com/yhirose/cpp-httplib.git
synced 2026-10-17 10:59:39 +00:00
1 parent
7dec57d1eb
commit
c0469eba96
1 file changed
+1
-1
@@ -4833,7 +4833,7 @@ socket_t create_socket(const std::string &host, const std::string &ip, int port,
|
|||||||
bool ipv6_v6only, SocketOptions socket_options,
|
bool ipv6_v6only, SocketOptions socket_options,
|
||||||
BindOrConnect bind_or_connect, time_t timeout_sec = 0) {
|
BindOrConnect bind_or_connect, time_t timeout_sec = 0) {
|
||||||
// Get address info
|
// Get address info
|
||||||
const char *node = "";
|
const char *node = nullptr;
|
||||||
struct addrinfo hints;
|
struct addrinfo hints;
|
||||||
struct addrinfo *result;
|
struct addrinfo *result;
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user