Click here to Skip to main content
15,887,485 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
my c++ windows service close up normal with error 10057 every 34 min
it work well but it close it listening port every 34 min
i think this is not a specific scenario that close service due to if like this may be close
in variety of time not 34 min every time
Posted
Comments
Richard MacCutchan 11-Sep-14 3:45am    
That could be due to anything; you need to provide more detailed explanation of what is going on.
Mahmoud_Gamal 11-Sep-14 8:19am    
this windows service is listening on port 6000 to handle any request on it by tcp conncetions
there is main thread tcp for listening and all chaild tread that handle connection and process request but after 30 min the service close listening socket up normal
Richard MacCutchan 11-Sep-14 8:45am    
Please do not expect us to try and guess what your code may be doing.
Mahmoud_Gamal 11-Sep-14 9:20am    
iam sorry for that but it thousand of line of code and also it work well for 30 min then stop and start
i post this question expecting may be a common guideline for this probelm
jeron1 11-Sep-14 10:08am    
So you call a send() or receive() function on a connected socket and end up with this error? and your service shuts down and restarts?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900