c/c++ TCP server: FD_ISSET() does not always work in a basic server

后端 未结 0 480
天命终不由人
天命终不由人 2021-01-04 08:44

This is my implementation of a soon-to-be HTTP server.

void    Webserv::resetFdSets()
{

    int         fildes;

    FD_ZERO(&to_read);
    FD_ZERO(&         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题