Help im trying to use sockets to create a small server, yes I know it would run faster in C..
But anyway.. I create a non_blocking socket.. and I can accept and track connections, I can write to one connection or to all.. But my problem is read..
I can not get read to work in a non_blocking socket..
Soon as I turn non_blocking off.. read works.. but of course my program doesnt work correct then..