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

C / C++ / MFC

 
AnswerRe: how to change the icon in title bar in sdi app. Pin
Anton Mikhalyov11-Jun-06 21:12
Anton Mikhalyov11-Jun-06 21:12 
GeneralRe: how to change the icon in title bar in sdi app. Pin
GANsJob11-Jun-06 21:36
GANsJob11-Jun-06 21:36 
AnswerRe: how to change the icon in title bar in sdi app. Pin
Eytukan11-Jun-06 21:38
Eytukan11-Jun-06 21:38 
GeneralRe: how to change the icon in title bar in sdi app. Pin
GANsJob11-Jun-06 22:12
GANsJob11-Jun-06 22:12 
Questionhow to show shell context menu, given only file name? Pin
nm_11411-Jun-06 20:44
nm_11411-Jun-06 20:44 
AnswerRe: how to show shell context menu, given only file name? Pin
Michael Dunn11-Jun-06 21:52
sitebuilderMichael Dunn11-Jun-06 21:52 
GeneralRe: how to show shell context menu, given only file name? Pin
nm_11412-Jun-06 11:23
nm_11412-Jun-06 11:23 
Questionsockets Pin
shuchigo_jane11-Jun-06 20:39
shuchigo_jane11-Jun-06 20:39 
We are simulating a web cache server using sockets,where
1.a client submits a url from his m/c
2.Request reaches server in the form of successive Http req headers.
3.Server processes each and sends corresp page to client..

The problem we encounter is this..
When the consecutive requests arrive on d same socket..we get a "debug assertion failed" message in sockcore.cpp

BOOL CAsyncSocket::Accept(CAsyncSocket& rConnectedSocket,
SOCKADDR* lpSockAddr, int* lpSockAddrLen)
{
ASSERT(rConnectedSocket.m_hSocket == INVALID_SOCKET);//the debugger points to dis line!!!!!
.....
......
}

We havent used multithreading!
Do we need to use it,or creating multiple sockets would help?

Do we need to post d code snippet?

AnswerRe: sockets Pin
Viorel.11-Jun-06 20:53
Viorel.11-Jun-06 20:53 
GeneralRe: sockets Pin
shuchigo_jane11-Jun-06 21:15
shuchigo_jane11-Jun-06 21:15 
GeneralRe: sockets Pin
Viorel.11-Jun-06 21:41
Viorel.11-Jun-06 21:41 
GeneralRe: sockets Pin
shuchigo_jane11-Jun-06 22:19
shuchigo_jane11-Jun-06 22:19 
Questionhow to setting enviroment variable of Visual 2003.net [modified] Pin
dinyxu11-Jun-06 18:09
dinyxu11-Jun-06 18:09 
AnswerRe: how to setting enviroment variable of Visual 2003.net [modified] Pin
_AnsHUMAN_ 11-Jun-06 19:22
_AnsHUMAN_ 11-Jun-06 19:22 
QuestionHow to change font name/size in Menu? Pin
Wilson Hew11-Jun-06 17:59
Wilson Hew11-Jun-06 17:59 
AnswerRe: How to change font name/size in Menu? Pin
_AnsHUMAN_ 11-Jun-06 18:01
_AnsHUMAN_ 11-Jun-06 18:01 
GeneralRe: How to change font name/size in Menu? Pin
Wilson Hew11-Jun-06 18:27
Wilson Hew11-Jun-06 18:27 
AnswerRe: How to change font name/size in Menu? Pin
Hamid_RT11-Jun-06 18:52
Hamid_RT11-Jun-06 18:52 
AnswerRe: How to change font name/size in Menu? Pin
Nishad S11-Jun-06 18:55
Nishad S11-Jun-06 18:55 
AnswerRe: How to change font name/size in Menu? Pin
Ryan Binns11-Jun-06 19:13
Ryan Binns11-Jun-06 19:13 
Questionreal simple question - decimals Pin
Sam 200611-Jun-06 17:35
Sam 200611-Jun-06 17:35 
AnswerRe: real simple question - decimals Pin
Michael Dunn11-Jun-06 18:20
sitebuilderMichael Dunn11-Jun-06 18:20 
GeneralRe: real simple question - decimals Pin
bob1697212-Jun-06 8:53
bob1697212-Jun-06 8:53 
AnswerRe: real simple question - decimals Pin
bob1697211-Jun-06 18:43
bob1697211-Jun-06 18:43 
AnswerRe: real simple question - decimals Pin
Hamid_RT11-Jun-06 19:11
Hamid_RT11-Jun-06 19:11 

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.