increment Outgoing Packets
Increments the outgoing packets sent to the provided inetAddress.
Parameters
inet Address
the address to which a packet was sent.
opcode
the opcode of the packet which was sent. The opcodes correspond to the ones found in the client.
payload Size
the number of bytes that the payload is made out of. It should be noted that the payload size only includes the payload, and not the 1-2 bytes for the opcode, nor the 1-2 bytes for the value defining the payload size. Both of those values can be retroactively determined, if more accurate metrics are required. In any case, however, due to the TCP protocol having a significant amount of overhead for its packets on-top of it, the metrics would never be truly accurate in terms of the data received.