|
Hello, AolServer gives a possibility to use ns_socklistencallback to open a socket, 'ns_thread begindetached' to create thread, ns_chan - to path channel to this thread. If we do this with every new connection, we get multithreaded tcp socket server - which is exactly what I wanted. I've tested it and it works. Now I have a question if there exists any potential problem with such aproach ? During this week, I has been googling on this topic. I've met several discussions in the Internet on this theme, and for some strange reason nobody has proposed this method to be used, it has not been discussed. So is there a reason not to use it ? Nikolay
Shulga Bas Scheffers wrote: As far as I am aware, the only way to do it is to implement a new socket driver in C.AOLserver can certainly handle this. There used to be nsftp, which did just that. Bas. On Tuesday, August 18, 2009 10:26pm, "Nikolay Shulga" <[email protected]> said:Hello,
|
- [AOLSERVER] Aolserver as multithreaded TCL socket server ? Nikolay Shulga
- Re: [AOLSERVER] Aolserver as multithreaded TCL soc ket... Bas Scheffers
- Re: [AOLSERVER] Aolserver as multithreaded TCL soc... Nikolay Shulga
- Re: [AOLSERVER] Aolserver as multithreaded TCL... Jim Davidson
- Re: [AOLSERVER] Aolserver as multithreaded TCL... Tom Jackson
