Commit graph

31 commits

Author SHA1 Message Date
Stephen Birarda
9e7fb9ae16 shuffle Packet headers, use static enum for PacketType 2015-07-23 13:56:47 -07:00
Stephen Birarda
5bed3502ef fix order of ctors and assignment operators 2015-07-22 14:15:17 -07:00
Stephen Birarda
12e684bea1 fix identation for NLPacket move ctor 2015-07-22 11:21:31 -07:00
Stephen Birarda
8bf507dd24 add a sanity check for data NLPacket ctor 2015-07-22 11:06:13 -07:00
Stephen Birarda
1386aa57da repair to NLPacket creation from Packet and char* 2015-07-22 11:02:45 -07:00
Stephen Birarda
da761d4c95 fix static methods to handle header read/write 2015-07-21 12:12:15 -07:00
Stephen Birarda
ed6867e1a0 add a method to LNL to verify packets 2015-07-21 11:47:06 -07:00
Stephen Birarda
3901dbae33 fix for broken move in NLPacket/Packet 2015-07-21 11:06:25 -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
Stephen Birarda
5f592df610 don't seek in Packet before open 2015-07-20 15:14:07 -07:00
Stephen Birarda
6fa17dafff open packets for write with ReadWrite 2015-07-15 18:27:43 -07:00
Stephen Birarda
312780a2f6 fix offset for source UUID and verification hash 2015-07-15 13:31:36 -07:00
Stephen Birarda
e90ace6231 fix child assignment UUID, adjust for NLPacket after unpack 2015-07-15 12:37:30 -07:00
Stephen Birarda
4a90e0f14f resolve conflicts on merge with clement/protcol 2015-07-15 11:45:17 -07:00
Atlante45
0b32a5d935 Write session uuid and connection hash in packet header 2015-07-15 11:42:35 -07:00
Stephen Birarda
e127c5c06d rename Packet methods for clarity 2015-07-15 10:40:40 -07:00
Stephen Birarda
88f419dfd7 repairs to packet sending/receiving 2015-07-14 18:59:33 -07:00
Stephen Birarda
3858e6933f open packets for reading and writing 2015-07-14 17:30:01 -07:00
Ryan Huffman
96bd650b55 Fix NLPacket::localHeaderSize 2015-07-14 15:22:35 -07:00
Ryan Huffman
0edc909818 Merge branch 'protocol' of github.com:birarda/hifi into receive_packets
Conflicts:
	assignment-client/src/audio/AudioMixer.cpp
	interface/src/Application.cpp
	libraries/networking/src/Packet.cpp
2015-07-14 10:21:31 -07:00
Stephen Birarda
990f7b7332 changes for new packet receive API 2015-07-10 16:45:44 -07:00
Atlante45
a2a60f253c Fail with packet size in constructor 2015-07-09 14:19:47 -07:00
Atlante45
7e4999b717 int64_t to qint64 for consistency 2015-07-09 13:12:48 -07:00
Atlante45
01f1a6e2b9 Fix NLPacket::create 2015-07-09 13:12:21 -07:00
Stephen Birarda
6d2fea4426 make NLPacket copy take const, fix get in SPH 2015-07-09 11:24:58 -07:00
Stephen Birarda
bd9b42bd4c change createCopy in packet to take const & 2015-07-09 11:23:44 -07:00
Atlante45
cb49d89369 Fix link errors 2015-07-08 19:56:07 -07:00
Atlante45
fcd11461c2 Added NLPacket::createCopy 2015-07-07 16:27:48 -07:00
Atlante45
712b35c4dc Couple changes to packets header size computation 2015-07-07 12:26:35 -07:00
Atlante45
91496d37c7 Move NLPacket to its own file 2015-07-07 10:31:54 -07:00