timeout([VAL]) Set or get the timeout value associated with this socket. If called without any arguments then the cur- rent setting is returned. If called with an argument the current setting is changed and the previous value returned.