ThreadedSocketService.this

Creates a new #GThreadedSocketService with no listeners. Listeners must be added with one of the #GSocketListener "add" methods.

  1. this(GThreadedSocketService* gThreadedSocketService, bool ownedRef)
  2. this(int maxThreads)
    class ThreadedSocketService
    this

Parameters

maxThreads int

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

Return: a new #GSocketService.

Throws

ConstructionException GTK+ fails to create the object.

Meta

Since

2.22