<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=EN-AU link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Hi Akhila,<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>The 15.8MB vic binary may be a Fat binary that contains both Intel
and PowerPC executables.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Sorry, I have no idea what could be causing the network issue
you are seeing.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Doug<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<div style='border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt'>
<div>
<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>
<p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:
"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'> Akhila [mailto:akhila844@gmail.com] <br>
<b>Sent:</b> Tuesday, 11 August 2009 10:05 AM<br>
<b>To:</b> Douglas Kosovic<br>
<b>Cc:</b> sumover-dev@cs.ucl.ac.uk<br>
<b>Subject:</b> Re: Reg: VIC on OS X<o:p></o:p></span></p>
</div>
</div>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal style='margin-bottom:12.0pt'>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<o:p></o:p></p>
<div>
<p class=MsoNormal>On Mon, Aug 10, 2009 at 5:15 PM, Douglas Kosovic <<a
href="mailto:douglask@itee.uq.edu.au">douglask@itee.uq.edu.au</a>> wrote:<o:p></o:p></p>
<p class=MsoNormal>Hi Akhila,<o:p></o:p></p>
<div>
<blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;
margin-left:4.8pt;margin-right:0cm'>
<p class=MsoNormal style='margin-bottom:12.0pt'><o:p> </o:p></p>
<p class=MsoNormal>I made vic to work with my application but it's still posing
some problems<br>
which I don'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?<o:p></o:p></p>
</blockquote>
<p class=MsoNormal><o:p> </o:p></p>
</div>
<p class=MsoNormal>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&sa=N&cd=2&ct=rc#6qb5uNIi0eg/Libinfo-129.2/gen.subproj/getaddrinfo.c&q=getaddrinfo"
target="_blank">http://www.google.com/codesearch/p?hl=en&sa=N&cd=2&ct=rc#6qb5uNIi0eg/Libinfo-129.2/gen.subproj/getaddrinfo.c&q=getaddrinfo</a><br>
<br>
The error message only happens if hints->ai_addrlen isn't initilised to
zero. In your modifications have you forgotten to initialise ai_addrlen to zero
somewhere?<o:p></o:p></p>
<div>
<blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;
margin-left:4.8pt;margin-right:0cm'>
<p class=MsoNormal style='margin-bottom:12.0pt'><o:p> </o:p></p>
<p class=MsoNormal>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.<o:p></o:p></p>
</blockquote>
<p class=MsoNormal><o:p> </o:p></p>
</div>
<p class=MsoNormal>7.3 MB is about the same size I have for vic on linux, 15.8
MB seems pretty large, I don't have a Mac handy, but can'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<o:p></o:p></p>
</div>
<p class=MsoNormal><o:p> </o:p></p>
</div>
</div>
</body>
</html>