~singpolyma/biboumi

7f2eb6073761ebddc37d7872e44d621d719d6828 — louiz’ 7 years ago 6fee839
Init some members of TcpClientSocketHandler
1 files changed, 4 insertions(+), 4 deletions(-)

M louloulibs/network/tcp_client_socket_handler.hpp
M louloulibs/network/tcp_client_socket_handler.hpp => louloulibs/network/tcp_client_socket_handler.hpp +4 -4
@@ 62,9 62,9 @@ class TCPClientSocketHandler: public TCPSocketHandler
   * triggered a EINPROGRESS error when connect()ing to it, to reuse it
   * directly when connect() is called again.
   */
  struct addrinfo addrinfo;
  struct sockaddr_in6 ai_addr;
  socklen_t ai_addrlen;
  struct addrinfo addrinfo{};
  struct sockaddr_in6 ai_addr{};
  socklen_t ai_addrlen{};

  /**
   * Hostname we are connected/connecting to


@@ 75,7 75,7 @@ class TCPClientSocketHandler: public TCPSocketHandler
   */
  std::string port;

  uint16_t local_port;
  uint16_t local_port{};

  bool connected;
  bool connecting;