AllowPacketFragmentation property
Gets whether packet fragmentation is allowed or sets whether to allow packet fragmentation. Read/write. Boolean.
Syntax
connOption
.AllowPacketFragmentation
where
connOption
- is an MQTTConnectOption object created by the MQTTFactory object's method CreateConnectOption
.Default value
If this property is omitted, it will use its default value, which is
True
, meaning packet fragmentation is allowed.Usually, the MQTT packets can be send partially. However, not all brokers (such as Amazon Web Services) support this function and will close the connection when receiving such packets. If such a service is used, this property must be set to False.
Provide Feedback