Does anyone know a good way of reading from a socket BUT timing out by a specified timeout (from a kernel thread of course). I tried setting up sk->recvtimeo and/or using my own version of tcp_data_wait() but it is still quite slow (as opposed to polling in which case the the data transfer is _very_ fast!) Any ideas/pointers/hints/suggestions? -- Luben - : send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html