Skip to main content
gamedev.net
🔒 Locked

connection protocol time values

Started by peter_b 0 replies 800+ views
Original Post
peter_b
peter_b
Hello, iv written a connection protocol on top of udp. Could someone point me to some nice values to use for the following; (im thinking similiar values to what tcp uses) CONNECTING_TIMEOUT (the time to wait for a "accepted" packet from server after requesting a connection from client) CONNECTION_TIMEOUT (time elapsed since last packet received in order to justify a connection drop) HEARTBEAT_TIME (time between heartbeat sends) RESEND_TIME (time before resending a packet if it has not received an ack) Thanks in advance
Shields up! Rrrrred alert!
hplus0603
hplus0603
10, 10, 2 and two times measured RTT.

enum Bool { True, False, FileNotFound };

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.