set_port


Description:

public void set_port (int port)

To customize the port opened by the local server to catch incoming publishers' events.

By default this is 8444. Changing the port while the subscriber is running imply restart the local server. Pay attention to the fact many publishers' implementations accept only certain ports.

Parameters:

this

a FeedsSubscriber.

port

new listening port for the server.




2022 vala-language.org