get_listeners


Description:

public SList<unowned Socket> get_listeners ()

Gets this's list of listening sockets.

You should treat these sockets as read-only; writing to or modifiying any of these sockets may cause this to malfunction.

(Beware that in contrast to the old get_listener, this function returns Sockets, not Sockets.)

Parameters:

this

a Server

Returns:

a list of listening sockets.




2022 vala-language.org