Fifth and sixth week: File receiving
In the last two weeks, file receiving over Jingle has been implemented. This means that basic Jingle file transfers are available in Dino now (at least once the pull request #577 has been merged).
As predicted by the Jingle implementation
gist, this was
actually a bit more than I would have guessed – you basically have to
implement the Jingle and file transfer protocol again, but this time from the
other side. Doing so involved some refactoring of the original code in order to
fit better with Dino’s internals. I moved the code from signal-style
callbacks to
async
IOStream
s.