のマニュアルページにはselect(int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds,
struct timeval *timeout)
、次のように書かれています。
If timeout is a null pointer, the select blocks indefinitely.
無期限とは、任意の長さの期間を意味しますか?
select()
ソケットがデータを取得するまでスレッドをブロックするのは良いことですか? もしそうなら、*タイムアウトはどうあるべきですか?