intmain(){intfd1 = tcp_listen(1314);intfd2 = tcp_listen(1315);intlen1,len2;intfd11 = accept(fd1,NULL,&len1);intfd21 = accept(fd2,NULL,&len2);intflag = fcntl(fd11,F_GETFL,0); fcntl(fd11,F_SETFL,flag|O_NONBLOCK);//需要将其设置为非阻塞形式flag = fcntl(fd21,F_GETFL,0); ...