Commit Graph

34 Commits

Author SHA1 Message Date
xenia d921fcf556 Add comments 2020-03-14 18:47:25 -04:00
Milo Turner 2e6c441194 rustfmt 2020-03-14 15:06:22 -04:00
xenia 815471d6d1 Implement more efficient scheme for ack packet coding 2020-03-14 14:42:03 -04:00
xenia ee3db94155 Comments, add grade script 2020-03-13 23:42:16 -04:00
xenia 269bb8b104 Integrate hex encoder/decoder with hptp protocol 2020-03-13 23:27:50 -04:00
xenia a6d4af87ce Implement better heck encoding (not used yet) 2020-03-13 20:28:33 -04:00
xenia e042551263 Minor test update 2020-03-13 17:27:27 -04:00
xenia a9732fcebd Add silly hex encoder 2020-03-13 17:26:08 -04:00
Milo Turner 038fd9037a ooop 2020-03-11 13:53:50 -04:00
Milo Turner 4fb26866c2 oop 2020-03-11 13:49:26 -04:00
Milo Turner f858cbc398 segment data in its own type called SegData; handles EOF (badly) 2020-03-11 13:14:55 -04:00
Milo Turner 6b3d8acdf1 change ack msg to store as array 2020-03-10 18:34:55 -04:00
Milo Turner a37edf2112 fix leading zeros in timestamp formatting 2020-03-10 18:33:47 -04:00
Milo Turner 86af734542 handle duplicate packets 2020-03-10 12:32:23 -04:00
Milo Turner dd6c4ff088 *very* primitive segment-index ack's 2020-03-10 12:01:44 -04:00
Milo Turner f0481e350d rename 2020-03-09 17:36:23 -04:00
Milo Turner 5dcda7aec3 put constants in hptp::seg module 2020-03-09 17:34:37 -04:00
Milo Turner bb6f534626 let the kernel pick my UDP ports 2020-03-09 17:18:08 -04:00
Milo Turner 4ad767e5c4 begin fleshing out package types 2020-03-09 16:25:25 -04:00
Milo Turner 87fd190378 don't create intermediate Vec's while serializing messages 2020-03-09 14:31:57 -04:00
Milo Turner 6652ddb3d1 separate types for upload/download messages 2020-03-09 14:15:27 -04:00
Milo Turner e687f03227 use 'chrono' for grabbing and printing timestamps in log 2020-03-09 12:23:19 -04:00
Milo Turner ca8a1b6884 implement other log functions and use them 2020-03-09 11:59:09 -04:00
Milo Turner ebd3c8333e dumb simple Ack messages and peer error handling 2020-03-09 11:33:19 -04:00
Milo Turner a569737ba2 don't worry about it ... 2020-03-09 11:12:04 -04:00
Milo Turner 6ace49cc88 put some important constants in the 'msg' module 2020-03-09 10:48:40 -04:00
Milo Turner 204aa4998f unified "peer" type for upload & download 2020-03-09 10:46:37 -04:00
Milo Turner a372532e96 peer / msg abstractions 2020-03-09 01:23:29 -04:00
Milo Turner 15b865a803 send data log message 2020-03-08 01:29:15 -05:00
Milo Turner 4a70ba8df7 bind on random ports 2020-03-07 23:50:41 -05:00
Milo Turner 520938abb2 don't make the logger raise errors for christ sake 2020-03-07 20:28:34 -05:00
Milo Turner 078c026858 hptp logging infrastructure 2020-03-07 15:38:15 -05:00
Milo Turner 6b2d567abe rustfmt 2020-03-02 16:11:24 -05:00
Milo Turner 577b7b0084 hello world 2020-02-21 16:51:19 -05:00