#include <sys/stat.h>
#include <fcntl.h>
-#ifndef PORT
#define PORT "65006"
-#endif
static struct io_conn *idler;
}
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);