alex wrote:
> hi ... i am trying to write an UDP server as a kernel module.
> i want to use sys_select(). is it possible to use sys_select in kernel
> level.plz help me ......
>
> the actual prblm is
>
> i want to write a server to serve more than 1000 clients
> each bound with different port. i created sockets using 'socket'
> structure (socket *KSocket ) and bound using KSocket-> ops -> bind ()
> (port is different), i want to use sys_select (if possible) function on
> these sockets . I heard that creating threads in kernel is not good
> idea as using sys_select, so i want to create 4 or 5 threads to serve
> all the clients (sockets). can u plz help me to write this.
>
> thanks in advance.
What you need is to create a daemon that can be started at boot. You
can find lots of examples in unix world.
Ciao
Giovanni
--
A computer is like an air conditioner,
it stops working when you open Windows.
Registered Linux user #337974 <
http://giovanni.homelinux.net/ >