#include <sys/stat.h>
#include <fcntl.h>
-#ifndef PORT
+#ifdef DEBUG_CONN
+#define PORT "64006"
+#else
#define PORT "65006"
#endif
}
freeaddrinfo(addrinfo);
- ok1(io_loop() == d);
+ ok1(io_loop(NULL, NULL) == d);
ok1(d->state == 4);
ok1(memcmp(d->buf, "hellothere", sizeof(d->buf)) == 0);
free(d);