<div dir="auto"><div>Got it working now. Ndn windows program is now connecting to the linux nfd. Issue was with the setting in the nfd.conf, at some point the port for the connection got changed, reverted to default and that fixed the rest of the issues.</div><div dir="auto">Thanks for your help.<br><br><div class="gmail_quote" dir="auto"><div dir="ltr" class="gmail_attr">On Thu, Apr 16, 2020, 4:11 PM Adam Atencio <<a href="mailto:adamjatencio@gmail.com">adamjatencio@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><div>Thanks for the help.</div><div dir="auto"><br></div><div dir="auto">Still getting the same error message. Traced it down in the code to the connectSocket function in socket-transport.cs.</div><div dir="auto"> it calls IPEndPoint with the right IP and port 6363. It then calls connect with Intel network type, stream , and TCP as inputs. </div><div dir="auto">I also verified that the linux system with the Nfd is listening on the port 6363, using netstat -tulpn</div><div dir="auto">I also see the initial connection request go out using wireshark along with 2 res ends of the same message, there is no response from the nfd.</div><div dir="auto">I think the issue is occurring before use of the use of the TLv message encoding.</div><div dir="auto">Is this maybe because the nfd is using the linux style of socket and the program is trying to connect with a windows style TCP? Is there a way to check or configure what style of socket is used by the nfd?</div><div dir="auto"><br></div><div dir="auto">Also before the last response I was working to convert the ndn-cpp for use in windows, i had some success at getting it to compile but still need to rework portions of the code. I posted the steps I tools so far up on the stack overflow site: </div><div dir="auto"><a href="https://stackoverflow.com/questions/61066561/converting-a-linux-library-project-into-a-library-project-usable-in-windows" target="_blank" rel="noreferrer">https://stackoverflow.com/questions/61066561/converting-a-linux-library-project-into-a-library-project-usable-in-windows</a></div><div dir="auto"><br><br><div class="gmail_quote" dir="auto"><div dir="ltr" class="gmail_attr">On Thu, Apr 16, 2020, 5:00 AM Thompson, Jeff <<a href="mailto:jefft0@remap.ucla.edu" rel="noreferrer noreferrer noreferrer" target="_blank">jefft0@remap.ucla.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div style="word-wrap:break-word;line-break:after-white-space;color:rgb(0,0,0);font-size:14px;font-family:Calibri,sans-serif">
<div>Hello Adam,</div>
<div><br>
</div>
<div>I updated NDN-DOT-NET to add support for wire format v0.3 .  To make it send packets with wire format v0.3, put the following in your application’s main method:</div>
<div><br>
</div>
<div>    WireFormat.setDefaultWireFormat(Tlv0_3WireFormat.get());</div>
<div><br>
</div>
<div>Alternatively, to change the default for all applications, in the following line:</div>
<div><a href="https://github.com/named-data/ndn-dot-net/blob/master/src/net/named_data/jndn/encoding/TlvWireFormat.cs#L25" rel="noreferrer noreferrer noreferrer noreferrer" target="_blank">https://github.com/named-data/ndn-dot-net/blob/master/src/net/named_data/jndn/encoding/TlvWireFormat.cs#L25</a> </div>
<div></div>
<div><br>
</div>
<div>    <span>public</span> <span>class</span> <span>
TlvWireFormat</span> : <span>Tlv0_2WireFormat</span> {</div>
<div><br>
</div>
<div>change Tlv0_2WireFormat to Tlv0_3WireFormat and rebuild.</div>
<div><br>
</div>
<div>Thanks,</div>
<div>- Jeff T</div>
<div><br>
</div>
<span id="m_4804729755044358515m_-137839738549258899m_-5226468944849551517m_2941214935537328503OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri;font-size:11pt;text-align:left;color:black;BORDER-BOTTOM:medium none;BORDER-LEFT:medium none;PADDING-BOTTOM:0in;PADDING-LEFT:0in;PADDING-RIGHT:0in;BORDER-TOP:#b5c4df 1pt solid;BORDER-RIGHT:medium none;PADDING-TOP:3pt">
<span style="font-weight:bold">From: </span>Ndn-interest <<a href="mailto:ndn-interest-bounces@lists.cs.ucla.edu" rel="noreferrer noreferrer noreferrer noreferrer" target="_blank">ndn-interest-bounces@lists.cs.ucla.edu</a>> on behalf of Adam Atencio via Ndn-interest <<a href="mailto:ndn-interest@lists.cs.ucla.edu" rel="noreferrer noreferrer noreferrer noreferrer" target="_blank">ndn-interest@lists.cs.ucla.edu</a>><br>
<span style="font-weight:bold">Reply-To: </span>Adam Atencio <<a href="mailto:adamjatencio@gmail.com" rel="noreferrer noreferrer noreferrer noreferrer" target="_blank">adamjatencio@gmail.com</a>><br>
<span style="font-weight:bold">Date: </span>Wednesday, April 1, 2020 at 13:48:00<br>
<span style="font-weight:bold">To: </span>"<a href="mailto:ndn-interest@lists.cs.ucla.edu" rel="noreferrer noreferrer noreferrer noreferrer" target="_blank">ndn-interest@lists.cs.ucla.edu</a>" <<a href="mailto:ndn-interest@lists.cs.ucla.edu" rel="noreferrer noreferrer noreferrer noreferrer" target="_blank">ndn-interest@lists.cs.ucla.edu</a>><br>
<span style="font-weight:bold">Subject: </span>[Ndn-interest] Issue with registerPrefix using .net code<br>
</div>
<div><br>
</div>
<div>
<div>
<div dir="ltr">
<div dir="ltr">
<div>I'm running the latest NFD on a virtual ubuntu 18.04 machine and running the .NET build of the CPLs on a Windows 10 VM. When I attempt to make the call to register the Prefix I get the following exception(I have removed my IP address from the message):</div>
<div>A connection attempt failed because the connected party did not properly respond after a period of time or established connection failed because connected host has failed to respond. X.X.X.X:6363</div>
<div><br>
</div>
<div>I checked that the port 6363 is open between the machines and that they can ping each other. I have followed the basic setup instructions for the NFD on the
<a href="http://named-data.net/doc/NFD/current/INSTALL.html" rel="noreferrer noreferrer noreferrer noreferrer" target="_blank">http://named-data.net/doc/NFD/current/INSTALL.html</a> page, but am wondering if there is a step I am missing that would allow the Prefix to register? </div>
<div><br>
</div>
<div><br>
</div>
</div>
</div>
</div>
</div>
</span>
</div>

</blockquote></div></div></div>
</blockquote></div></div></div>