#ifndef _DRAGONNET_PEER_H_
#define _DRAGONNET_PEER_H_
-#include <dragonnet/addr.h>
#include <pthread.h>
#include <stdbool.h>
#include <stdint.h>
typedef struct dragonnet_peer {
int sock;
- DragonnetAddr laddr, raddr;
+ char *address;
+
pthread_t recv_thread;
pthread_mutex_t mtx;