<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_13" widgetid="dwa_widget_label_13" ><div dir="ltr" style="font-family:Arial;font-size:10.5pt" ><div dir="ltr" style="font-family:Arial;font-size:10.5pt" ><div dir="ltr" ><div 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>&nbsp;</div>
<div>I&nbsp; am trying to implement the NSHost.current() .The c function getifaddrs() is invisible to NSHost&nbsp; and hence we&nbsp; cannot use that . The same implementation on OSx&nbsp; gives the following &nbsp; the&nbsp; output :</div>
<div>&nbsp;</div>
<div><img  alt="" src="cid:14648551535910" ></div>
<div>&nbsp;</div>
<div><br>Basically it gives&nbsp; all the details pertaining to&nbsp; the current host.</div>
<div>So I tried to get the details using&nbsp; getaddrinfo(“127.0.0.1”,..) /&nbsp; gethostbyname(“localhost”)&nbsp; and am only able to get&nbsp; localhost /127.0.0.1 from the address list .</div>
<div>&nbsp;</div>
<div>Please let me know if&nbsp; there are any options &nbsp; to getifaddrs()&nbsp; &nbsp;</div>
<div>&nbsp;</div>
<div>Thanks &amp; Regards,</div>
<div>&nbsp;</div>
<div>&nbsp;Sai Hema</div></div></div></div></div></div></div></div></div></div>
<BR>