Click here to Skip to main content
15,116,516 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionconvert dialog based into sdi Pin
ashish dogra28-Jun-06 23:27
Memberashish dogra28-Jun-06 23:27 
AnswerRe: convert dialog based into sdi Pin
Sarath C28-Jun-06 23:38
MemberSarath C28-Jun-06 23:38 
GeneralRe: convert dialog based into sdi Pin
ashish dogra28-Jun-06 23:47
Memberashish dogra28-Jun-06 23:47 
AnswerRe: convert dialog based into sdi Pin
Cedric Moonen28-Jun-06 23:52
MemberCedric Moonen28-Jun-06 23:52 
QuestionHow can I convert my project Pin
ja_jerry28-Jun-06 23:19
Memberja_jerry28-Jun-06 23:19 
AnswerRe: How can I convert my project Pin
Sarath C28-Jun-06 23:29
MemberSarath C28-Jun-06 23:29 
AnswerRe: How can I convert my project Pin
Viorel.28-Jun-06 23:30
MemberViorel.28-Jun-06 23:30 
Questionclosesocket Pin
raserove28-Jun-06 23:14
Memberraserove28-Jun-06 23:14 
Hi,
Please let me know if this is ok to shutdown(or break) the loop...

//this is in server side, server listening for new connections
while(1)
{
start:
clnt_sokt = accept(m_sokt,..)
if(clnt_sckt == INVALID_SOCKET)
{
if(WSAGetLastError() == WSAEINTR)
break;
else
goto start;
}
}
void StopServer()
{
closesocket(m_sokt)
}
Call StopServer() would close the server listening to socket
Thanks

Rove
AnswerRe: closesocket Pin
Sarath C28-Jun-06 23:23
MemberSarath C28-Jun-06 23:23 
QuestionCan't convert struct hi to Chi* Pin
kamalesh8228-Jun-06 23:02
Memberkamalesh8228-Jun-06 23:02 
AnswerRe: Can't convert struct hi to Chi* Pin
Cedric Moonen28-Jun-06 23:12
MemberCedric Moonen28-Jun-06 23:12 
GeneralRe: Can't convert struct hi to Chi* Pin
Stephen Hewitt29-Jun-06 0:26
MemberStephen Hewitt29-Jun-06 0:26 
JokeRe: Can't convert struct hi to Chi* Pin
KarstenK29-Jun-06 1:00
mveKarstenK29-Jun-06 1:00 
Questionhelp me Pin
premkamalg28-Jun-06 22:34
Memberpremkamalg28-Jun-06 22:34 
AnswerRe: help me Pin
Naveen28-Jun-06 22:43
MemberNaveen28-Jun-06 22:43 
AnswerRe: help me Pin
Hamid_RT28-Jun-06 22:55
MemberHamid_RT28-Jun-06 22:55 
QuestionPlz help me urgently(plzzzzzzzz) Pin
madhurgupta28-Jun-06 22:26
Membermadhurgupta28-Jun-06 22:26 
AnswerRe: Plz help me urgently(plzzzzzzzz) Pin
Sarath C28-Jun-06 22:45
MemberSarath C28-Jun-06 22:45 
Questiontwo forms Pin
Desmo1628-Jun-06 22:23
MemberDesmo1628-Jun-06 22:23 
AnswerRe: two forms Pin
Naveen28-Jun-06 22:32
MemberNaveen28-Jun-06 22:32 
GeneralRe: two forms Pin
Desmo1628-Jun-06 23:11
MemberDesmo1628-Jun-06 23:11 
GeneralRe: two forms Pin
Naveen28-Jun-06 23:26
MemberNaveen28-Jun-06 23:26 
GeneralRe: two forms Pin
Desmo1628-Jun-06 23:46
MemberDesmo1628-Jun-06 23:46 
QuestionCommand handlers difference Pin
Rupesh Shivarkar28-Jun-06 22:12
MemberRupesh Shivarkar28-Jun-06 22:12 
AnswerRe: Command handlers difference Pin
Viorel.28-Jun-06 23:53
MemberViorel.28-Jun-06 23:53 

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.