Lines Matching refs:sock
64 apr_socket_t *sock;
80 rv = apr_socket_create(&ctx->sock, ctx->mcast_addr->family,
89 rv = apr_socket_opt_set(ctx->sock, APR_SO_REUSEADDR, 1);
97 rv = apr_socket_opt_set(ctx->sock, APR_SO_NONBLOCK, 1);
104 rv = apr_socket_bind(ctx->sock, ctx->mcast_addr);
111 rv = apr_mcast_join(ctx->sock, ctx->mcast_addr, NULL, NULL);
119 rv = apr_mcast_loopback(ctx->sock, 1);
570 rv = apr_socket_recvfrom(&from, ctx->sock, 0, buf, &len);
629 pfd.desc.s = ctx->sock;
654 if (ctx->sock) {
655 apr_socket_close(ctx->sock);
656 ctx->sock = NULL;