GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Net::MQTT::Constants(3) User Contributed Perl Documentation Net::MQTT::Constants(3)

Net::MQTT::Constants - Module to export constants for MQTT protocol

version 1.143260

  use Net::MQTT::Constants;

Module to export constants for MQTT protocol.

Calculates the "remaining length" from the bytes in $data starting at the offset read from the scalar reference. The offset reference is subsequently incremented by the number of bytes processed.

Calculates the "remaining length" bytes from the length, $length, and returns the packed bytes as a string.

Returns a byte by unpacking it from $data starting at the offset read from the scalar reference. The offset reference is subsequently incremented by the number of bytes processed.

Returns a packed byte.

Returns a short (two bytes) by unpacking it from $data starting at the offset read from the scalar reference. The offset reference is subsequently incremented by the number of bytes processed.

Returns a packed short (two bytes).

Returns a string (short length followed by length bytes) by unpacking it from $data starting at the offset read from the scalar reference. The offset reference is subsequently incremented by the number of bytes processed.

Returns a packed string (length as a short and then the bytes of the string).

Returns a string describing the given QoS value.

Returns a string describing the given "message_type" value.

Returns a string representation of arbitrary data - as a string if it contains only printable characters or as a hex dump otherwise.

Returns a string describing the given "connect_return_code" value.

Mark Hindess <soft-cpan@temporalanomaly.com>

This software is copyright (c) 2014 by Mark Hindess.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

2014-11-22 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.