get_listener


Description:

[ Version ( deprecated = true ) ]
public unowned Socket get_listener ()

Warning: get_listener is deprecated.

Gets this's listening socket, if you are using the old API.

Note:

If you are using listen, etc, then use get_listeners to get a list of all listening sockets, but note that that function returns Sockets, not Sockets.

You should treat this socket as read-only; writing to it or modifiying it may cause this to malfunction.

Parameters:

this

a Server

Returns:

the listening socket.