Searched refs:consumer_addr (Results 1 – 1 of 1) sorted by relevance
116 void producer(struct sockaddr_un *consumer_addr) in producer() argument126 if (connect(cfd, (struct sockaddr *)consumer_addr, in producer()127 sizeof(*consumer_addr)) != 0) { in producer()178 struct sockaddr_un consumer_addr, paddr; in main() local179 socklen_t len = sizeof(consumer_addr); in main()188 memset(&consumer_addr, 0, sizeof(consumer_addr)); in main()189 consumer_addr.sun_family = AF_UNIX; in main()192 strcpy(consumer_addr.sun_path, sock_name); in main()194 if ((bind(lfd, (struct sockaddr *)&consumer_addr, in main()195 sizeof(consumer_addr))) != 0) { in main()[all …]