Hello. Karstens, Nate wrote in <e21c7d22e9274cfe8c0cdecc1d512...@garmin.com>: |The current definition of system() does not define if the pthread_atfork() \ ...
No head to think about that but.. ... |a new process. The parent process attempts to bind a new socket to \ |a port that it had previously bound to (before the IP address change), \ |only to fail because the child process continues to hold a socket bound \ |to that port. | |The close-on-exec flag (SOCK_CLOEXEC / FD_CLOEXEC) seems like it would \ |help here, but does not because the child process has not called exec() \ |yet. Couldn't that be addressed by SO_REUSEADDR? ... |Any feedback would be much appreciated. ..following that star :) --steffen | |Der Kragenbaer, The moon bear, |der holt sich munter he cheerfully and one by one |einen nach dem anderen runter wa.ks himself off |(By Robert Gernhardt)