Echo example

This commit is contained in:
Mark Qvist
2018-03-20 12:32:41 +01:00
parent 4c7d20e15b
commit d4be407821
9 changed files with 386 additions and 62 deletions
+2 -1
View File
@@ -17,6 +17,7 @@ fpe = FlexPE()
identity = Identity()
d1=Destination(identity, Destination.IN, Destination.SINGLE, "messenger", "user")
#d1.setProofStrategy(Destination.PROVE_ALL)
d1.setCallback(testCallback)
msg=""
@@ -28,7 +29,7 @@ pl = len(d1.identity.pub_bytes)
d1.announce()
p1=Packet(d1, msg)
#p1.send()
p1.send()
# p2=Packet(d2,"Test af msg")
# p2.send()