27.9. Network

Configuration of the network:

[ Settings/Network ]
blowfish_key_length : integer = 16 1
blowfish_key_timeout : integer = 3600 2
max_idle_seconds : integer = 10 3
max_pings : integer = 3 4
max_receive_bytes : integer = 32768 5
max_server_life : integer = 60 6
next_ping_delay : integer = 2 7
tcp_preallocated_buffers : integer = 10 8
udp_preallocated_buffers : integer = 10 9

1

Default key length for blowfish ciphre. Higher value increases security, but slows down message crypting and decrypting.

2

Blowfish key life in seconds. After this time period blowfish regeneration process exchanges new blowfish ciphre. Lower value increases security, but decreases the network performance.

3

A time period after which PING_MESSAGE/DISCONNECT_REQUEST_MESSAGE is sent to the other side. The message type depends on auto close feature setting by the node. When true, request to close the connection is sent, otherwise PING_MESSAGE to find out, whether the other side is alive.

4

A amount of allowed ping messages sent to the other side without reply. After this amount of tries, CONNECTION LOST is signalized to the higher layers.

5

An amount of bytes allowed to receive in one network tick on a connection. Higher value increases network performance, but decreases performance of the Core.

6

A time period after which server ( connection acceptor ) closes new accepted connection, when no data exchange appeared in the connection creation process.

7

A time period between two consecutive sends of PING_MESSAGE when no PING_REPLY_MESSAGE received.

8

An amount of the preallocated buffers reserved for the TCP message sending. Higher value increases network performance, but consumes more PC memory.

9

An amount of the preallocated buffers reserved for the UDP message sending. Higher value increases network performance, but consumes more PC memory.