Browse Source

make the accepted connections non-blocking, too

master
Felix von Leitner 18 years ago
parent
commit
f70b907066
  1. 1
      test/io5.c

1
test/io5.c

@ -48,6 +48,7 @@ main() {
buffer_puts(buffer_2," (fd ");
buffer_putulong(buffer_2,n);
buffer_puts(buffer_2,")");
io_nonblock(n);
if (io_fd(n)) {
io_wantread(n);
} else {

Loading…
Cancel
Save