Porting to Swift

(Eugenio Tampieri) #1

I’d really like to port the Syncthing stack to Swift as a personal project and, if that turns out well, I would be very pleased to make it available to the community. However, I’d like to have an overview of the protocols (the ones at https://docs.syncthing.net/specs/) and what you think on which one I should implement first. Thanks in advance

(Audrius Butkevicius) #2

Syncthing needs BEP protocol to talk to others, so not sure there is much use implementing relays and discovery before that has any use.

(Jakob Borg) #3

Yeah, start with that. There are protocol buffer schemas that you use for most of the protocol wire stuff. I’ve found it rather annoying to do raw TLS connections with certificate authentication in Swift, which is sort of the first thing you need to do to get anywhere…