Revision 0567c2b4

View differences:

include/net_helper.h
9 9
struct nodeID *create_node(const char *IPaddr, int port);
10 10
void nodeid_free(struct nodeID *s);
11 11
struct nodeID *net_helper_init(const char *IPaddr, int port);
12
int send_to_peer(const struct nodeID *from, const struct nodeID *to, const uint8_t *buffer_ptr, int buffer_size);
12
int send_to_peer(const struct nodeID *from, struct nodeID *to, const uint8_t *buffer_ptr, int buffer_size);
13 13
int recv_from_peer(const struct nodeID *local, struct nodeID **remote, uint8_t *buffer_ptr, int buffer_size);
14 14

  
15 15
int wait4data(const struct nodeID *n, struct timeval tout);

Also available in: Unified diff