summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
442f981)
The two remaining arguments to accept is now NULL ptrs.. The
arguments (for Unix) makes the accept call return an error
about invalid supplied pointers.
h->cerrno = CSOUTSTATE;
return -1;
}
h->cerrno = CSOUTSTATE;
return -1;
}
+#ifdef WIN32
+ h->newfd = accept(h->iofile, 0, 0);
+#else
h->newfd = accept(h->iofile, (struct sockaddr*)&addr, &len);
h->newfd = accept(h->iofile, (struct sockaddr*)&addr, &len);