Click here to Skip to main content
15,893,814 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: edit box Pin
amit.code22-Jun-06 0:53
amit.code22-Jun-06 0:53 
QuestionRe: edit box Pin
Hamid_RT22-Jun-06 19:19
Hamid_RT22-Jun-06 19:19 
QuestionSMPP Pin
johnalek21-Jun-06 23:38
johnalek21-Jun-06 23:38 
AnswerRe: SMPP Pin
capricious_00122-Jun-06 0:51
capricious_00122-Jun-06 0:51 
GeneralRe: SMPP Pin
johnalek22-Jun-06 1:05
johnalek22-Jun-06 1:05 
QuestionDatabase problem Pin
gentleguy21-Jun-06 23:36
gentleguy21-Jun-06 23:36 
AnswerRe: Database problem Pin
Hamid_RT21-Jun-06 23:44
Hamid_RT21-Jun-06 23:44 
Questionsocket trouble? Pin
mohanrajh21-Jun-06 22:58
mohanrajh21-Jun-06 22:58 
Hi Guys,
This is an issue from client. They have a server application & client applications connected to it from different PC's. Both applications are developed in mfc's using socket class.

Server application creates a socket connection & listens to the particular port, server & client sends msg in-between on time interval. Application has been running well for the past year & suddenly the client say that they can't have new client connections connected to the server but old connections are alive. This occurs randomly once in a week or so, once they restart the server application, everything works fine again.
There is no error log for this & couldn't replicate the same problem from work place.

Please suggest me the possible reason why this is happening?

Note:
Server has a socket accept() function which is in while loop waiting for new connection event. When connection arrives, it calls accept function When there is an INVALID_SOCKET error, it closes the socket. Can something go wrong suddenly? is this can be due to network, firewall, router, etc?

Thank you

Mohan
AnswerRe: socket trouble? [modified] Pin
Moak25-Jun-06 0:38
Moak25-Jun-06 0:38 
QuestionDoubt regarding hPrevInstance Pin
NiceNaidu21-Jun-06 22:52
NiceNaidu21-Jun-06 22:52 
AnswerRe: Doubt regarding hPrevInstance Pin
_AnsHUMAN_ 21-Jun-06 22:59
_AnsHUMAN_ 21-Jun-06 22:59 
GeneralRe: Doubt regarding hPrevInstance Pin
NiceNaidu21-Jun-06 23:13
NiceNaidu21-Jun-06 23:13 
GeneralRe: Doubt regarding hPrevInstance Pin
_AnsHUMAN_ 21-Jun-06 23:28
_AnsHUMAN_ 21-Jun-06 23:28 
AnswerRe: Doubt regarding hPrevInstance Pin
FarPointer21-Jun-06 23:03
FarPointer21-Jun-06 23:03 
AnswerRe: Doubt regarding hPrevInstance Pin
NiceNaidu21-Jun-06 23:23
NiceNaidu21-Jun-06 23:23 
Questionstatic member initialization order fiasco Pin
Tnarol21-Jun-06 22:51
Tnarol21-Jun-06 22:51 
AnswerRe: static member initialization order fiasco Pin
Steve S21-Jun-06 22:54
Steve S21-Jun-06 22:54 
GeneralRe: static member initialization order fiasco Pin
Tnarol21-Jun-06 23:02
Tnarol21-Jun-06 23:02 
GeneralRe: static member initialization order fiasco Pin
Steve S22-Jun-06 0:19
Steve S22-Jun-06 0:19 
AnswerRe: static member initialization order fiasco Pin
Cedric Moonen21-Jun-06 23:28
Cedric Moonen21-Jun-06 23:28 
GeneralRe: static member initialization order fiasco Pin
toxcct21-Jun-06 23:36
toxcct21-Jun-06 23:36 
GeneralRe: static member initialization order fiasco Pin
Cedric Moonen21-Jun-06 23:40
Cedric Moonen21-Jun-06 23:40 
GeneralRe: static member initialization order fiasco Pin
toxcct21-Jun-06 23:43
toxcct21-Jun-06 23:43 
GeneralRe: static member initialization order fiasco Pin
Cedric Moonen21-Jun-06 23:50
Cedric Moonen21-Jun-06 23:50 
JokeRe: static member initialization order fiasco Pin
toxcct21-Jun-06 23:52
toxcct21-Jun-06 23:52 

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.