APUE Learning Example Source Code
Guo Wenxue
2018-11-26 958940edc920cda07bd217027477f916e40a252e
ch5_multiplexing/socket_server_select_list.c
File was renamed from ch5_multiplexing/socket_server_select.c
@@ -34,7 +34,6 @@
    int                       serv_port = 0;
    int                       daemon_run = 0;
    char                     *progname = NULL;
    pthread_t                 tid;
    int                       opt;
    fd_set                    rdset; 
    link_node_t              *client_list = NULL; /* client fd link list, we will not use arrary for it get max client limite */
@@ -176,7 +175,7 @@
    }
CleanUp:
    close(listenfd);  /* We must close socket File Description when program exit*/
    close(listenfd);
    return 0;
}