发布时间:2013-12-11 13:59:53
#include#include#includevoid* thfn(void* arg){ pid_t pid; pthread_t tid; pid=getpid(); tid=pthread_self(); printf("the new thread:pid is: %u,tid is: %u\n",(unsigned int)pid,(unsigned int)tid); return NULL;}int m.........【阅读全文】
发布时间:2013-12-10 17:18:15
疑问----------------------------------------客户端向服务端发送数据后,二者只能接受数据成功一次,原因??????????服务端:#include#include#include#include#include#include#include#define MAX_LINE 100#def.........【阅读全文】