> So, can someone tell me how to either use "select" in "net" or "accept" in 
> "nativesockets"?

TL;DR: Use the [selectors module](https://nim-lang.org/docs/selectors.html).

The `select` procs scattered throughout the stdlib are largely deprecated and 
replaced by the `selectors` module. Depending on your use case though you 
probably want to use async await with `asyncnet` which builds on top of 
`selectors` on POSIX and IOCP on Windows (via `asyncdispatch`).

Keep in mind that `nativesockets` is just a low-level sockets wrapper. The 
`net` module is built on top of it (but it's meant to support synchronous 
workloads). 

Reply via email to