[ CCode ( has_construct_function = false , type = "GSocketService*" ) ]
public ThreadedSocketService (int max_threads)
Creates a new ThreadedSocketService with no listeners.
Listeners must be added with one of the SocketListener "add" methods.
max_threads |
the maximal number of threads to execute concurrently handling incoming clients, -1 means no limit |
a new SocketService. |