Lines Matching refs:result
348 struct addrinfo *result, *rp; in get_context() local
355 s = getaddrinfo(node, port, &hints, &result); in get_context()
362 for (rp = result; rp != NULL; rp = rp->ai_next) { in get_context()
381 freeaddrinfo(result); in get_context()
389 int result = -1; in join() local
396 result = getaddrinfo("::", NULL, &hints, &reslocal); in join()
397 if (result < 0) { in join()
399 gai_strerror(result)); in join()
417 result = getaddrinfo(group_name, NULL, &hints, &resmulti); in join()
419 if (result < 0) { in join()
421 gai_strerror(result)); in join()
433 result = setsockopt(ctx->sockfd, IPPROTO_IPV6, IPV6_JOIN_GROUP, in join()
435 if (result < 0) in join()
442 return result; in join()
451 int result; in main() local
519 result = select( FD_SETSIZE, &readfds, 0, 0, timeout ); in main()
521 if ( result < 0 ) { /* error */ in main()
524 } else if ( result > 0 ) { /* read from socket */ in main()