Unix Programming - how to set the socket parameters when the socket is created so that its file descripto

This is Interesting: Free IT Magazines  
Home > Archive > Unix Programming > February 2007 > how to set the socket parameters when the socket is created so that its file descripto





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 descripto
sunny

2007-02-28, 1:22 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






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com