select
fd_set
FD_SET
FD_ISSET
FD_CLR
fd_set is a fd pool which could allow us to use single thread to do stdin, listening, reading(receiveing) and writing. With stdin, we also can do writing(sending) and reading.
--------------------------------------------------------
没有评论:
发表评论