Sockets server multithread

  • Thread starter Thread starter Crirus
  • Start date Start date
C

Crirus

hello
I need a sample of a server with multithreading accept connections with
sockets...

Have anyone?

Thanks,
Crirus
 
hello
I need a sample of a server with multithreading accept connections with
sockets...

Have anyone?

Thanks,
Crirus

This kind of thing is best done using the asyncronous socket methods.
There is an example of creating a server in the Framework SDK docs that
would probably be useful to you.
 
OK, I've done that
Now I need a flood handler
You know, If someone keep pressed refresh browser button, I receive hunderts
of request that cant handle anyway because the client is closed and opened
on new refresh...there is a way to drop invalid requests?

Crirus
 
Back
Top