日期:2014-05-16 浏览次数:20631 次
for(i=0;i<5;i++) { if(pthread_create(&manage->stid[i], NULL, (void *)&data_sent, (void *)manage) == -1) } void data_sent() { sockfd = socket(AF_INET, SOCK_DGRAM, 0) }