For Programmers: Free Programming Magazines  


Home > Archive > Unix Programming > February 2007 > how to set the socket parameters when the socket is created so that its file descript









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author how to set the socket parameters when the socket is created so that its file descript
sunny

2007-02-28, 4:07 am

Hai,

how to set the socket parameters when the socket is created so that
its file descriptor is not inherited by forked processes. I am facing
a problem while creating a socket and then its descripotrs are
inherited by the forked process when i restart my parent process it is
shutting down because the port on which the socket is created is used
by the previous child process.

Regards,
sunny

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com