Add files via upload
This commit is contained in:
parent
148523117b
commit
ebc0e05b8b
9 changed files with 753 additions and 60 deletions
14
testing.c
Normal file
14
testing.c
Normal 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);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue