Hello Douglas,<br><br>Thanks for the information. But I see that ai_addrlen is always initialized zero and I have not modified any code related to that.<br><br>I changed my hostname using <br><br>$sudo sethostname LOCALHOST<br>
<br>I compiled vic-mpeg4  and I was able to send
and receive for sometime. But after I close my terminal, I have the
same problem again. Why is this so? <br><br>Thanks<br><br>Regards, <br>Akhila<br><br><div class="gmail_quote">On Mon, Aug 10, 2009 at 5:15 PM, Douglas Kosovic <span dir="ltr">&lt;<a href="mailto:douglask@itee.uq.edu.au">douglask@itee.uq.edu.au</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi Akhila,<div class="im"><br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I made vic to work with my application but it&#39;s still posing some problems<br>
which I don&#39;t comprehend completely.<br>
<br>
I get this message everytime I run vic.<br>
<br>
vic: getaddrinfo: LOCALHOST: Bad hints<br>
<br>
What does addrinfo has to do with vic? Does hostname play any role in vic?<br>
</blockquote>
<br></div>
The error message seems to be coming from the IPv6 code in common/src/net_udp.c<br>
<br>
Is there any reason you need to build vic with IPv6 support or use IPv6? If you look at the net_udp.c, gethostname is used to get the hostname.<br>
<br>
But looking at Apples getaddrinfo implementation:<br>
<br>
<a href="http://www.google.com/codesearch/p?hl=en&amp;sa=N&amp;cd=2&amp;ct=rc#6qb5uNIi0eg/Libinfo-129.2/gen.subproj/getaddrinfo.c&amp;q=getaddrinfo" target="_blank">http://www.google.com/codesearch/p?hl=en&amp;sa=N&amp;cd=2&amp;ct=rc#6qb5uNIi0eg/Libinfo-129.2/gen.subproj/getaddrinfo.c&amp;q=getaddrinfo</a><br>

<br>
The error message only happens if hints-&gt;ai_addrlen isn&#39;t initilised to zero. In your modifications have you forgotten to initialise ai_addrlen to zero somewhere?<div class="im"><br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
And one thing I observed is, the vic I compiled is 7.3 MB but the one from<br>
the website is 15.8MB. Why is the difference? Are there any additional steps<br>
to compile vic? Please let me know.<br>
</blockquote>
<br></div>
7.3 MB is about the same size I have for vic on linux, 15.8 MB seems pretty large, I don&#39;t have a Mac handy, but can&#39;t rember vic being that large for the version I built (it may be statically linked with Tcl/Tk I guess).<br>

<br>
<br>
Cheers,<br>
Doug<br>
</blockquote></div><br>