[Ndn-interest] jNDN wire format
Thompson, Jeff
jefft0 at remap.ucla.edu
Thu Apr 16 01:43:34 PDT 2020
Hello Anders,
I updated jNDN to add support for wire format v0.3. See the release announcement here:
https://www.lists.cs.ucla.edu/pipermail/ndn-lib/2020-April/000524.html
Quoting from the announcement:
To make jNDN send packets with wire format v0.3, put the following in your application’s main method:
WireFormat.setDefaultWireFormat(Tlv0_3WireFormat.get());
Alternatively, to change the default for all applications, in the following line:
https://github.com/named-data/jndn/blob/master/src/net/named_data/jndn/encoding/TlvWireFormat.java#L27
public class TlvWireFormat extends Tlv0_2WireFormat {
change Tlv0_2WireFormat to Tlv0_3WireFormat and rebuild jNDN.
Thanks,
- Jeff T
From: Ndn-interest <ndn-interest-bounces at lists.cs.ucla.edu<mailto:ndn-interest-bounces at lists.cs.ucla.edu>> on behalf of Anders Nilsson Plymoth <anders at telhoc.se<mailto:anders at telhoc.se>>
Date: Tuesday, April 14, 2020 at 16:06:00
To: "ndn-interest at lists.cs.ucla.edu<mailto:ndn-interest at lists.cs.ucla.edu>" <ndn-interest at lists.cs.ucla.edu<mailto:ndn-interest at lists.cs.ucla.edu>>
Subject: [Ndn-interest] jNDN wire format
Hi all,
I have tried using jNDN and trying out a couple of examples but none of them work. It seems that jNDN is still using the old TLV-0.2 wire format while the NFD is now using TLV-0.3 and is refusing any connections. Does anyone have any idea how to fix this? I tried to compile an older version of the NFD (like 0.6.6), but that doesn't compile on my system, only master seems to work.
Any suggestions?
Thanks!
Anders
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndn-interest/attachments/20200416/c78caeb6/attachment.html>
More information about the Ndn-interest
mailing list