Thank you very much for the reply. I have a new version that i'm almost happy with now. I would post it but i guess it's kinda trivial and maybe not so interesting to seasoned geeks. Will do though if anyone does want to look at it/make comments etc. The main problems were not doing pthread_join in main() and calling daemon in the wrong place. The protocol is only really a sorta joke anyway! Did learn some useful things though. Thanks for the advice comet--berkeley
|