十一月
11
Before you pselect(), you'd better do the follows:
u_int *message;
int p_fd;
ioctl(p_fd, BIOCIMMEDIATE,&message); //mac os x use it!
This makes your program runs better,
because I have tested it already :-)
Before you pselect(), you'd better do the follows:
u_int *message;
int p_fd;
ioctl(p_fd, BIOCIMMEDIATE,&message); //mac os x use it!
This makes your program runs better,
because I have tested it already :-)
发表评论