Searched refs:server_addr (Results 1 – 1 of 1) sorted by relevance
48 sockaddr_in server_addr{}; local54 server_addr.sin_family = AF_INET;55 server_addr.sin_port = htons(port);57 if (inet_pton(AF_INET, "127.0.0.1", &server_addr.sin_addr) <= 0) {63 if (connect(socket_fd_, reinterpret_cast<sockaddr*>(&server_addr),64 sizeof server_addr) < 0) {