nabto_device_set_server_port()

DESCRIPTION

Set the server port. If not set it will default to 443.

DECLARATION

NABTO_DEVICE_DECL_PREFIX NabtoDeviceError NABTO_DEVICE_API
nabto_device_set_server_port(NabtoDevice* device, uint16_t port)

PARAMETERS

device:
[in] The device
port:
[in] The port number to set.

RETURNS

NABTO_DEVICE_EC_OK on success