tcp_select_from(+Timeout, -Term)

The behavior of tcp_select_from/2 is the same as tcp_select_from/1, except tcp_select_from/2 will return the atom timeout if the timeout interval expires before input is available or a timer alarm is delivered.

Timeout is a floating point number indicating seconds