Click here to Skip to main content
15,899,679 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: AfxMessageBox Pin
shir_k28-Nov-07 3:15
shir_k28-Nov-07 3:15 
QuestionRe: AfxMessageBox Pin
Maximilien28-Nov-07 3:12
Maximilien28-Nov-07 3:12 
AnswerRe: AfxMessageBox Pin
shir_k28-Nov-07 3:30
shir_k28-Nov-07 3:30 
GeneralRe: AfxMessageBox Pin
David Crow28-Nov-07 3:45
David Crow28-Nov-07 3:45 
GeneralRe: AfxMessageBox Pin
Maximilien28-Nov-07 4:33
Maximilien28-Nov-07 4:33 
GeneralRe: AfxMessageBox Pin
Paresh Chitte28-Nov-07 17:18
Paresh Chitte28-Nov-07 17:18 
GeneralRe: AfxMessageBox Pin
Nelek28-Nov-07 21:49
protectorNelek28-Nov-07 21:49 
AnswerRe: AfxMessageBox Pin
Michael Dunn28-Nov-07 14:12
sitebuilderMichael Dunn28-Nov-07 14:12 
QuestionEvent ID 1073 Occurs When You Attempt to Move the Quorum Disk Pin
sumd28-Nov-07 2:14
sumd28-Nov-07 2:14 
Questionbmfh.bfType != 0x4d42 Pin
keyto28-Nov-07 1:26
keyto28-Nov-07 1:26 
AnswerRe: bmfh.bfType != 0x4d42 Pin
toxcct28-Nov-07 1:36
toxcct28-Nov-07 1:36 
AnswerRe: bmfh.bfType != 0x4d42 Pin
Paresh Chitte28-Nov-07 1:56
Paresh Chitte28-Nov-07 1:56 
AnswerRe: bmfh.bfType != 0x4d42 Pin
CPallini28-Nov-07 2:03
mveCPallini28-Nov-07 2:03 
QuestionA big Q Pin
keyto28-Nov-07 1:17
keyto28-Nov-07 1:17 
AnswerRe: A big Q Pin
CPallini28-Nov-07 2:24
mveCPallini28-Nov-07 2:24 
QuestionRe: A big Q Pin
David Crow28-Nov-07 3:01
David Crow28-Nov-07 3:01 
QuestionRe: A big Q Pin
Hamid_RT29-Nov-07 4:28
Hamid_RT29-Nov-07 4:28 
QuestionIOCP server Pin
Jhony george28-Nov-07 1:15
Jhony george28-Nov-07 1:15 
AnswerRe: IOCP server Pin
Cedric Moonen28-Nov-07 1:44
Cedric Moonen28-Nov-07 1:44 
QuestionRe: IOCP server [modified] Pin
Jhony george28-Nov-07 1:57
Jhony george28-Nov-07 1:57 
hai,
thanks for reply, here is my code :

1.for (int ii = 0; ii < nNoOfThreads; ii++)
2.{
3.b = CreateConnectedSocket(&(pThreadInfo[ii].m_Socket),"192.168.60.206", nPortNo);

4.if(b)
5.{
6. pThreadInfo[ii].m_nThreadNo = ii+1;
7. p_hThreads[ii] = CreateThread(NULL, 4096, WorkerThread,(void *)(&pThreadInfo[ii]), STACK_SIZE_PARAM_IS_A_RESERVATION, &nThreadID);
8.}

in for loop "nNoOfThreads= 4500",
and the 3rd line i am creating socket, and trying to connect with passed parameters.

now..each 4500 sockets has o create,
den create thread will take care of message send and receving...

now the issue is only 3969 sockets are created... and the 3969 threads are created.


Mani.




Born to win...!

AnswerRe: IOCP server Pin
Cedric Moonen28-Nov-07 2:18
Cedric Moonen28-Nov-07 2:18 
GeneralRe: IOCP server Pin
Jhony george28-Nov-07 2:26
Jhony george28-Nov-07 2:26 
GeneralRe: IOCP server Pin
Mark Salsbery28-Nov-07 5:32
Mark Salsbery28-Nov-07 5:32 
GeneralRe: IOCP server Pin
Mike Dimmick28-Nov-07 5:55
Mike Dimmick28-Nov-07 5:55 
GeneralRe: IOCP server Pin
Mark Salsbery28-Nov-07 6:08
Mark Salsbery28-Nov-07 6:08 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.