#define DEFAULT_RCVBUFSIZE 0
#define DEFAULT_MAXRCVBUFSIZE 131072
-#define MAX_UNRELIABLE_SIZE 65536
+#define MAX_UNRELIABLE_SIZE 65535
#define DEFAULT_MTU 1000
#define USEC_PER_SEC 1000000L
bool reapable;
bool do_poll;
+ bool flush_needed;
// Callbacks
uint32_t irs;
} rcv;
+ uint32_t frame_offset;
int dupack;
// Timers
uint16_t mtu; // The maximum size of a UTCP packet, including headers.
uint16_t mss; // The maximum size of the payload of a UTCP packet.
int timeout; // sec
+ int flush_timeout; // milliseconds
// Connection management