Socket and Select() problems
Hi,
Well this is the situation i am having with the select() command
At the moment i have written a daemon and it seems to accept the first connection and then from that point on it refuses to proccess any more.
I have used netstat and it says the connection is established,
I have placed a printf line after the accept command in the code
and nothing is showing..
I have a feeling it has something to do with the socket id its been given, and that is 0.
THis problem is driving me nuts i have used the same code in the other server applications without fault..
any pointers as to what i may of done or could be going wrong.
thanks
Dennis
|