in reply to [SOLVED]Creating a Server daemon in Socket Programming

I think you should add flags = REUSE to your xinetd.d configuration file

Replies are listed 'Best First'.
Re^2: Creating a Server daemon in Socket Programming
by sajanagr (Acolyte) on Jul 13, 2010 at 04:53 UTC
    Hi ahmad

    The flags was what was missing. I am very thankful to you. I was banging my head for last 2 days to resolve this. I had used SO_REUSEADDR flag for bind function. But xinetd require one too.

    Thanks a lot, the issue is resolved.