Commit graph

21 commits

Author SHA1 Message Date
Stephen Birarda
cabdee8391 send a handshake before first packet send 2015-08-25 17:12:03 -07:00
Stephen Birarda
3833623cfe fix assert for control packet type 2015-07-31 18:41:46 -07:00
Stephen Birarda
41c6220731 resolve conflicts on merge with upstream/master 2015-07-31 17:27:23 -07:00
Stephen Birarda
ea5da73683 Merge branch 'protocol' of https://github.com/Atlante45/hifi into atp 2015-07-31 17:19:23 -07:00
Stephen Birarda
df1e97c591 cleanup RTT stats, add assert for CT 2015-07-31 17:19:14 -07:00
Atlante45
2946cb7ed5 Collapse ControlPacket ctors 2015-07-31 17:15:10 -07:00
Stephen Birarda
367fa7b07b fixes for assert in Connection and ControlPacket create 2015-07-30 17:20:22 -07:00
Atlante45
9e7644ee78 Change headers/payload size computation 2015-07-30 15:05:51 -07:00
Atlante45
da480bcaf0 Fix ControlPackets read/write header 2015-07-29 20:05:15 -07:00
Stephen Birarda
cb703a9d78 repair two calls to adjust payload start and capacity 2015-07-29 17:43:40 -07:00
Stephen Birarda
7c87ee3a72 type and version fixes after refactor 2015-07-29 17:37:33 -07:00
Stephen Birarda
66c308b436 actually process control and sequence numbers from Socket 2015-07-29 16:48:14 -07:00
Stephen Birarda
cf30426636 add a PacketTimeWindow to estimate bandwidth and report speed 2015-07-28 15:21:17 -07:00
Stephen Birarda
f176c45a61 return an ACK2 from processControl 2015-07-27 17:48:38 -07:00
Stephen Birarda
d2c5e79ac2 add writing of control bit and type to ControlPacket 2015-07-27 17:38:10 -07:00
Stephen Birarda
52411bb8ba pack ACK sub sequence number manually for control 2015-07-27 17:23:39 -07:00
Stephen Birarda
90d2515674 add methods to send ACKs from Connection 2015-07-27 16:43:49 -07:00
Stephen Birarda
b0d96cdb88 use BasePacket::totalHeadersSize in ControlPacket 2015-07-24 16:43:19 -07:00
Stephen Birarda
b3d33bc59f copy the ControlPacket type when moving ControlPacket 2015-07-24 16:20:49 -07:00
Stephen Birarda
aea2fed449 add a static to create a packet pair 2015-07-24 11:46:11 -07:00
Stephen Birarda
6dba431084 initial version of the control packet class 2015-07-24 11:38:51 -07:00