Revision ebd0fa16 net_helper-ml.c

View differences:

net_helper-ml.c
24 24

  
25 25
#define NH_BUFFER_SIZE 1000
26 26
#define NH_PACKET_TIMEOUT {0, 500*1000}
27
#define NH_ML_INIT_TIMEOUT {1, 0}
27 28

  
28 29
static int sIdx = 0;
29 30
static int rIdx = 0;
......
296 297

  
297 298
struct nodeID *net_helper_init(const char *IPaddr, int port) {
298 299

  
299
	struct timeval tout = {1, 0};
300
	struct timeval tout = NH_ML_INIT_TIMEOUT;
300 301
	int s;
301 302
	base = event_base_new();
302 303

  

Also available in: Unified diff