Networking Constants

Networking Constants

This section provides definitions for commonly used networking constants.

Constant 1: NET_MAX_SPEED

This constant represents the maximum network speed supported.

Value: 100000000

Constant 2: NET_DATA_PACK_RATE

This constant defines the data pack rate for network transmission.

Value: 1000000

Constant 3: NET_CONNECTION_TIMEOUT

This constant represents the maximum time a network connection can remain open.

Value: 60

Constant 4: NET_MAX_MESSAGE_SIZE

This constant defines the maximum size of a single message packet.

Value: 2048

Constant 5: NET_LEAST_PACKET_SIZE

This constant represents the smallest data packet size that can be transmitted.

Value: 1024

Constant 6: NET_DATA_RETENTION_TIME

This constant represents the time that data is retained before being dropped.

Value: 30

Constant 7: NET_CONNECTION_TIMEOUT_IN_MS

This constant defines the time a network connection can remain open in milliseconds.

Value: 500

Constant 8: NET_MAX_ROUND_TIMEOUT

This constant represents the maximum time a network connection can remain open before being dropped.

Value: 10000

Constant 9: NET_MESSAGE_COUNT

This constant represents the number of data packets transmitted within a certain time frame.

Value: 5000

Constant 10: NET_DATA_PACK_WIDTH

This constant defines the width of a single data packet.

Value: 8

Constant 11: NET_MAX_MESSAGE_DELAY

This constant defines the maximum delay in sending a single data packet.

Value: 100