Add files via upload

This commit is contained in:
xethyrion 2016-11-06 03:57:36 +02:00 committed by GitHub
parent 148523117b
commit ebc0e05b8b
9 changed files with 753 additions and 60 deletions

14
testing.c Normal file
View file

@ -0,0 +1,14 @@
#include "multiaddr.h"
//ADD TO PROTOUTILS.H
int main()
{
struct maddr a;
a=new_maddr_fs("/ip4/192.168.1.1/");
printf("s str:%s\n",a.string);
//m_encapsulate("/tcp/8080");
//m_decapsulate("tcp");
//struct maddr b;
//b=new_maddr_fb(a.bytes,sizeof(a.bytes));
//printf("B STRING: %s\n",b.string);
}