Searched refs:serv_addr (Results 1 – 1 of 1) sorted by relevance
40 struct sockaddr_un serv_addr; in Connect() local56 bzero((char*)&serv_addr, sizeof(serv_addr)); in Connect()57 serv_addr.sun_family = AF_UNIX; in Connect()58 strcpy(serv_addr.sun_path, socket_name.c_str()); in Connect()60 if (connect(sockfd_, (struct sockaddr*)&serv_addr, sizeof(serv_addr)) < 0) { in Connect()