Select和epoll的區別

當一個節點和多個節點創建鏈接時,如何高效的處理多個鏈接的數據,下面具體分析二者的區別。linux 1. select函數數組 函數原型:int select(int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, struct timeval *timeout);服務器 參數介紹:(1)nfds    -- fdset集合中最
相關文章
相關標籤/搜索