Additional debug message printing
This commit is contained in:
parent
2c28d9fe2f
commit
19ce5a29b1
Binary file not shown.
|
@ -193,6 +193,7 @@ int main(int argc, char **argv) {
|
||||||
// the first Windows handle is usually in the 0x54 (84 decimal) region.
|
// the first Windows handle is usually in the 0x54 (84 decimal) region.
|
||||||
|
|
||||||
if (fd >= MODES_NET_MAX_FD) { // Max number of clients reached
|
if (fd >= MODES_NET_MAX_FD) { // Max number of clients reached
|
||||||
|
fprintf(stderr, "Max number of clients exceeded : fd = 0x%X\n", fd);
|
||||||
close(fd);
|
close(fd);
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue