DWORD rslt;
srand((unsigned int)time(NULL));
- for(int indexfirst = 0; indexfirst < 1000;indexfirst++){
+ for(int indexfirst = 0; indexfirst < STARTRECEVECOUNT;indexfirst++){
liveChat.chatBuf = commentcount % 2 == 0 ? TEXT("http://live.nicovideo.jp/watch/lv79715214?alert=1 2545 http://live.nicovideo.jp/watch/lv79715214?alert=1") : TEXT("test");
_stprintf((LPTSTR)liveChat.user_id,user_id_format,rand() % 15);
commentcount++;
_beginthread(commentthread_inteanal,0,self);
HANDLE eventarray[] = {self->endEvent,self->receveEvent};
- for(int index = 0,index2; index < 65536;index++){
+ for(int index = 0,index2; index < RECEVECOUNT;index++){
- for(index2 = 0;index2 < 3;index2++){
+ for(index2 = 0;index2 < ONERECEVECHATCOUNT;index2++){
liveChat.chatBuf = commentcount % 2 == 0 ? TEXT("http://live.nicovideo.jp/watch/lv79715214?alert=1 254 http://live.nicovideo.jp/") : TEXT("test");
_stprintf((LPTSTR)liveChat.user_id,user_id_format,rand() % 15);