3 ms·
Channels are not network sockets; select cannot be used to wait on a set of network sockets. (Early versions of Go had a "network channel" concept, but that wa
by neilc 10y ago
Channels are not network sockets; select cannot be used to wait on a set of network sockets.
(Early versions of Go had a "network channel" concept, but that was removed from the language: https://softwareengineering.stackexchange.com/questions/154004/why-did-golang-discontinue-the-netchan-package https://softwareengineering.stackexchange.com/questions/1540...)