destroy memory segment on server program Programming Software Development by SpyrosMet … stuff prossid = fork() if(prossid == 0) { //do stuff for child prossess } else { close(ns)//if it's the father… prossess close the connection with the client program } }[/CODE] I want … Re: destroy memory segment on server program Programming Software Development by sree_ec … stuff prossid = fork() if(prossid == 0) { //do stuff for child prossess } else { close(ns)//if it's the father… prossess close the connection with the client program } }[/CODE] I want … Re: destroy memory segment on server program Programming Software Development by gerard4143 This has so many unanswered questions.... How does the listening part of the server know that no more clients are pending without waiting? You mentioned shared memory segments at first then you say memory segment, which is it? Does the listening server create one memory segment for all the clients? Does the listening server create one segment for… Re: destroy memory segment on server program Programming Software Development by SpyrosMet [QUOTE=gerard4143;1375400]This has so many unanswered questions.... How does the listening part of the server know that no more clients are pending without waiting? You mentioned shared memory segments at first then you say memory segment, which is it? Does the listening server create one memory segment for all the clients? Does the listening…