how to stop service? 
Author Message
 how to stop service?

I develop a winsock server,when no client connect ,it blocked at accept,
int Run(){
.....
newsockfd = accept(s, (struct sockaddr *)from, &from_len);
...
Quote:
}

This winsock server is a windows nt service,when the service receive stop
control,it must return from Run()
Function.but accept is a block function,how can i return from Run() Function
?
thanks!


Sun, 15 Apr 2001 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Starting and Stopping Services

2. what API starts/stops services?

3. Starting, monitoring and stopping services in NT 4

4. How to start/stop services with vbscript?

5. login script to start/stop service

6. problem with "stop service" script

7. Starting and stopping Services from ASP or VBS

8. start and stop services

9. start/stop service

10. STARTING / STOPPING SERVICES

11. Code for Starting & Stopping Services

12. Start/Stop Services

 

 
Powered by phpBB® Forum Software