2 ms·
Good to know. Does it work for everything that's an fd in Linux? I know you've got to treat sockets and files differently in some cases (or at least did once)
by dllthomas 13y ago
Good to know. Does it work for everything that's an fd in Linux? I know you've got to treat sockets and files differently in some cases (or at least did once)...
- enigmo 13y agoIt works for most kernel handles, sockets might be a little more normal starting with Win7 but I stopped doing Windows development around then. Here are the official docs: http://msdn.microsoft.com/en-us/library/windows/desktop/ms724251(v=vs.85).aspx http://msdn.microsoft.com/en-us/library/windows/desktop/ms72...
- dllthomas 13y agoLooks like there's a separate function for sockets. Still, cool stuff there too.