From: Samuel T. <sam...@en...> - 2006-11-23 15:10:36
|
Michael D=FCrig, le Thu 23 Nov 2006 14:33:47 +0100, a =E9crit : > Someone recommended to use non-blocking sockets instead of blocking > sockets because 'select is typically not used with blocking > sockets'. Mmm, they have a strange notion of select() then. Select is particularly useful with blocking sockets precisely because it permits to know whether recv() will block or not... If that's not the case, it's a bug in the select() implementation. Samuel |