SocketService.this

Creates a new #GSocketService with no sockets to listen for. New listeners can be added with e.g. g_socket_listener_add_address() or g_socket_listener_add_inet_port().

New services are created active, there is no need to call g_socket_service_start(), unless g_socket_service_stop() has been called before.

Return: a new #GSocketService.

Throws

ConstructionException GTK+ fails to create the object.

Meta

Since

2.22