4 ms·
> Is this a thread based server, or does it use an event loop instead? > No. Well, which is it ?
by Jaruzel 10y ago
> Is this a thread based server, or does it use an event loop instead?
> No.
Well, which is it ?
- diamondo25 10y agoNeither, its using netcat + -l flag, which is (possibly) waiting for a connection using blocking networking IO. It can only accept one connection at a time because of the netcat command being used in a loop
- Jaruzel 10y agoOh OK. Well, anyone can write that in a handful of lines in most languages.
- basdp 10y agoNeither.