C Board  

Go Back   C Board > Platform Specific Boards > Windows Programming

Reply
 
LinkBack Thread Tools Display Modes
Old 11-04-2009, 06:38 AM   #1
Registered User
 
Join Date: Apr 2006
Posts: 14
Signal in windows

Hi,
i a writing one socket program and in my program I am creating child processes and executing different applications.

If any process killed, i need to send signal to parent process like unix.

Is it possible in windows.

If possible give some examples.

Also, in windows we can use createProcess() like fork() in unix.

but, is it correct to send info to parent process like unix.

thanks.
kalamram is offline   Reply With Quote
Old 11-04-2009, 09:25 PM   #2
train spotter
 
Join Date: Aug 2001
Location: near a computer
Posts: 3,359
With WSA you may be able to use WM_SOCKET_NOTIFY msgs to monitor the status of the child processes.
__________________
"Man alone suffers so excruciatingly in the world that he was compelled to invent laughter."
Friedrich Nietzsche

"I spent a lot of my money on booze, birds and fast cars......the rest I squandered."
George Best

"If you are going through hell....keep going."
Winston Churchill
novacain is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Windows 7, First Impressions Mario F. General Discussions 16 08-11-2009 06:46 AM
Anyone using Windows 7? Sharke General Discussions 60 07-12-2009 08:05 AM
input/output dogbert234 Windows Programming 11 01-26-2005 06:57 AM
SDL and Windows nickname_changed Windows Programming 14 10-24-2003 12:19 AM
IE 6 status bar DavidP Tech Board 15 10-23-2002 05:31 PM


All times are GMT -6. The time now is 06:04 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0 RC2

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22