mnAddShortInt

This command adds a short integer to the specified packet. Typically short integers are 2 bytes in size ranging from -32,768 to +32,767.

The data will be added starting at the cursor position and the cursor will be moved forward by the size of the data added.

Parameters

long long int Packet: This is the packet that the command should use.

short integer: This is the data to be added.

Returns (Integer)

0 if no error occurred.

-1 if an error occurred.

Present in

C++




This page is in the following sections:
(2) Packets
(1) Miscellaneous
(0) DarkNet Help