WIP: deserialize peer messages
authorRamakrishnan Muthukrishnan <ram@rkrishnan.org>
Tue, 5 May 2015 16:41:13 +0000 (22:11 +0530)
committerRamakrishnan Muthukrishnan <ram@rkrishnan.org>
Tue, 5 May 2015 16:41:13 +0000 (22:11 +0530)
commit7e4acb41371cbbbdd474dd8656cde1c4dbd04cfb
tree43245b45349710172f729865479f9de6126cb58d
parent72f029586552ffb94c0a8811be9fe3e7c20865cd
WIP: deserialize peer messages

serialize/deserialize is implemented as instances of Data.Binary
which allows us to just do get/put.
src/FuncTorrent/Peer.hs