5 ms·
Using select: https://en.wikipedia.org/wiki/Select_(Unix) https://en.wikipedia.org/wiki/Select_(Unix)
by mathgenius 8y ago
Using select: https://en.wikipedia.org/wiki/Select_(Unix) https://en.wikipedia.org/wiki/Select_(Unix)
- gcb0 8y agois that a fact or are you guessing?
- adamnemecek 8y agoselect doesnt scale well.
- scandox 8y agoDoesn't select have a maximum of 1024 file descriptors it can handle at any one time? Or some such?
- __sr__ 8y agoBy default, yes. But it can be increased. See limit(1) and ulimit(1).