SocketService.isActive

Check whether the service is active or not. An active service will accept new clients that connect, while a non-active service will let connecting clients queue up until the service is started. Since 2.22 Signal Details The "incoming" signal gboolean user_function (GSocketService *service, GSocketConnection *connection, GObject *source_object, gpointer user_data) : Run Last The ::incoming signal is emitted when a new incoming connection to service needs to be handled. The handler must initiate the handling of connection, but may not block; in essence, asynchronous operations must be used. connection will be unreffed once the signal handler returns, so you need to ref it yourself if you are planning to use it. Since 2.22

class SocketService
int
isActive
()

Return Value

Type: int

TRUE if the service is active, FALSE otherwiseReturns: TRUE to stop other handlers from being called

Meta