ThreadedSocketService


Description:

[ 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.

Parameters:

max_threads

the maximal number of threads to execute concurrently handling incoming clients, -1 means no limit

Returns:

a new SocketService.