Hi, apparently this does not work with socket_read() but only with higher level socket functions (fread etc). However I have found a function called socket_set_nonblock(socketname) which apparently does something very similar, it prevents the socket_read from waiting to receive data. I simply built my own timeout loop into the code and voila!!
Gareth