SocketService

constructor()

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.

Since

2.22


constructor(pointer: <Error class: unknown class><<Error class: unknown class>>)