Commit graph

109 commits

Author SHA1 Message Date
Stephen Birarda
2ec4d8ff3c rename return of HifiSockAddr objects for connections 2015-08-17 16:39:12 -07:00
Stephen Birarda
d89c54112d cleanup indentation in Socket 2015-08-17 16:35:23 -07:00
Stephen Birarda
7b8ca2c0f2 fix suppression of link saturation messages 2015-08-04 16:29:53 -07:00
Stephen Birarda
23e1ee71cc suppress writeDatagram errors for saturated links 2015-08-04 16:18:12 -07:00
Atlante45
c0852f0eb2 Remove call to has pending datagrams 2015-08-03 17:14:42 -07:00
Atlante45
8704f05812 Added UDTTest server stats 2015-08-03 14:40:18 -07:00
Stephen Birarda
41c6220731 resolve conflicts on merge with upstream/master 2015-07-31 17:27:23 -07:00
Atlante45
f9c8f30083 Merge branch 'atp' of https://github.com/birarda/hifi into protocol 2015-07-31 16:16:06 -07:00
Stephen Birarda
d420bca88e fix for ACK2 sending, output prettier stats 2015-07-31 16:14:33 -07:00
Atlante45
c5b92d319f Update stats gathering 2015-07-31 16:14:19 -07:00
Atlante45
ed614521fd Merge branch 'atp' of https://github.com/birarda/hifi into protocol 2015-07-31 15:12:15 -07:00
Stephen Birarda
ce21204151 add output of connection stats in UDTTest 2015-07-31 15:09:30 -07:00
Atlante45
b437f3bca9 Made connection hash hold unique ptr 2015-07-31 10:42:43 -07:00
Stephen Birarda
98a53cbd72 don't require a sendQueue for control packet sending 2015-07-31 09:56:50 -07:00
Atlante45
a714f8081d Fix a couple networking bugs 2015-07-30 18:10:59 -07:00
Stephen Birarda
0f1d1a16a7 actually call sendReliablePacket for write of reliable 2015-07-30 17:12:44 -07:00
Stephen Birarda
d340515ab3 complete the initial version of UDTTest 2015-07-30 17:09:25 -07:00
Stephen Birarda
8e55655ec3 call setSystemBufferSizes once bound 2015-07-30 15:07:49 -07:00
Stephen Birarda
3f0eecc599 actually change the system socket buffer size 2015-07-30 15:04:48 -07:00
Atlante45
3d523552f8 Cast buffer ptr before bitwise op 2015-07-30 01:02:53 -07:00
Atlante45
fd11e13eaa Merge branch 'atp' of https://github.com/birarda/hifi into protocol 2015-07-29 19:54:01 -07:00
Stephen Birarda
50b80c3c20 remove debug for isControl 2015-07-29 17:39:16 -07:00
Atlante45
04ece4459c Merge branch 'atp' of https://github.com/birarda/hifi into protocol 2015-07-29 17:37:53 -07:00
Stephen Birarda
7c87ee3a72 type and version fixes after refactor 2015-07-29 17:37:33 -07:00
Atlante45
fe48bfdf95 Merge branch 'atp' of https://github.com/birarda/hifi into protocol 2015-07-29 17:29:36 -07:00
Atlante45
b8085086c6 HifiSockAddr have object names 2015-07-29 17:28:37 -07:00
Stephen Birarda
66c308b436 actually process control and sequence numbers from Socket 2015-07-29 16:48:14 -07:00
Atlante45
8a3c51ef61 Merge branch 'atp' of https://github.com/birarda/hifi into protocol 2015-07-29 15:45:24 -07:00
Stephen Birarda
85156b9d0f add a constants file for UDT 2015-07-29 15:11:12 -07:00
Atlante45
bb62231ebc Code cleanup 2015-07-29 14:14:28 -07:00
Atlante45
b10396a169 Merge branch 'atp' of https://github.com/birarda/hifi into protocol 2015-07-28 18:13:02 -07:00
Stephen Birarda
0e0968f748 initial support to get CongestionControl down to Connection 2015-07-28 17:58:49 -07:00
Stephen Birarda
74b0fa7e87 use microseconds for intervals, setup timeout NAKs 2015-07-28 16:43:21 -07:00
Atlante45
64e1281d47 Restore const, make helper memebers mutable 2015-07-28 16:02:33 -07:00
Stephen Birarda
cfba300786 send an unreliable sequence number from Socket 2015-07-28 15:51:50 -07:00
Atlante45
8ebdb6d154 Merge branch 'atp' of https://github.com/birarda/hifi into protocol 2015-07-28 15:48:55 -07:00
Stephen Birarda
65fa4c4e6d add the periodic rate control packet sending 2015-07-28 15:47:36 -07:00
Atlante45
c2c188c5dd Remove TODO 2015-07-28 15:46:26 -07:00
Atlante45
ffdd54d41f Make sendUnreliable take a non const 2015-07-28 15:42:53 -07:00
Atlante45
24520c5856 LNL send cleanup / Added connection hash 2015-07-28 15:32:00 -07:00
Stephen Birarda
90d2515674 add methods to send ACKs from Connection 2015-07-27 16:43:49 -07:00
Stephen Birarda
d787e08632 fix for rate control sync in Socket 2015-07-27 16:10:52 -07:00
Stephen Birarda
10d6520098 add a TODO message to Socket::rateControlSync 2015-07-27 16:00:00 -07:00
Stephen Birarda
50a7ef7c20 remove the ControlSender and perform sync in Socket 2015-07-27 15:59:04 -07:00
Stephen Birarda
594b4f4814 fix the shutdown of the ControlSender 2015-07-27 12:25:46 -07:00
Stephen Birarda
b0e7c208ac initial version of the sleeping ControlSender 2015-07-27 12:21:27 -07:00
Stephen Birarda
d0c3274b5f include Packet for udt::Socket 2015-07-27 11:36:09 -07:00
Stephen Birarda
f50154551b fix comment for sequence number write 2015-07-24 16:23:35 -07:00
Stephen Birarda
2f03075750 repairs to type/version header write 2015-07-23 15:57:31 -07:00
Stephen Birarda
df47f1dd0b add a BasePacket class for headerless packets 2015-07-23 15:20:37 -07:00
Stephen Birarda
aa08bee69f initial work to make sequence # and bitfield lead all packets 2015-07-23 11:59:37 -07:00
Stephen Birarda
fb7130120a another rename to Socket callbacks 2015-07-22 10:16:26 -07:00
Stephen Birarda
7f53eda0d9 naming changes to udt::Socket handlers 2015-07-22 10:01:24 -07:00
Stephen Birarda
4604bc5a3a leverage udt::Socket in ice-server 2015-07-21 12:27:27 -07:00
Stephen Birarda
a61c04aa92 allow socket owner to specify unfiltered packets 2015-07-21 12:00:16 -07:00
Stephen Birarda
3901dbae33 fix for broken move in NLPacket/Packet 2015-07-21 11:06:25 -07:00
Stephen Birarda
cea8e01a01 add a verify packet operator to verify packets 2015-07-20 17:35:16 -07:00
Stephen Birarda
796dfee687 udt namespace fixes and NLPacket operator fixes 2015-07-20 17:28:04 -07:00
Stephen Birarda
9556fecbe2 initial changes to make _nodeSocket a udt::Socket 2015-07-20 17:10:22 -07:00