<div class="socmaildefaultfont" dir="ltr" style="font-family:Arial;font-size:10.5pt" ><div class="socmaildefaultfont" dir="ltr" style="font-family:Arial;font-size:10.5pt" ><div dir="ltr" ><div class="idw-label pim-mailread-mailcontent" data-dojo-attach-point="bodyContent" data-dojo-props="formatter: socmail.common.BodyHtmlFormatter,
constraints: {
inlineAttachments: this.model.inlineAttachments
},
rawHtml: true" data-dojo-type="dwa.widget.label" id="dwa_widget_label_3" widgetid="dwa_widget_label_3" ><div dir="ltr" style="font-family:Arial;font-size:10.5pt" ><div dir="ltr" ><div>Hi All,</div>
<div> </div>
<div>I am trying to implement the NSHost.current() .The c function getifaddrs() is invisible to NSHost and hence we cannot use that . The same implementation on OSx gives the following the output :</div>
<div> </div>
<div><img alt="" src="cid:14648551535910" ></div>
<div> </div>
<div><br>Basically it gives all the details pertaining to the current host.</div>
<div>So I tried to get the details using getaddrinfo(“127.0.0.1”,..) / gethostbyname(“localhost”) and am only able to get localhost /127.0.0.1 from the address list .</div>
<div> </div>
<div>Please let me know if there are any options to getifaddrs() </div>
<div> </div>
<div>Thanks & Regards,</div>
<div> </div>
<div> Sai Hema</div></div></div></div></div></div></div>
<BR>