vapor-community / sockets

🔌 Non-blocking TCP socket layer, with event-driven server and client.
MIT License
575 stars 54 forks source link

Sendable receivable protocols #51

Closed MatthiasKreileder closed 8 years ago

MatthiasKreileder commented 8 years ago

Fixes #24

czechboy0 commented 8 years ago

Thanks! I'll push a few cosmetic changes later, but this should be useful! 👍

czechboy0 commented 8 years ago

I pushed a few small changes, but now that I think about it, I think we'll need to put this PR on hold. Currently we can't express that a Collection of elements UInt8 conforms to Sendable and Receivable, which is the needed base case to make it all work. I saw a Swift proposal that'd allow it being reviewed (possibly even accepted), so we just need to wait until this feature actually gets implemented and merge this then.

loganwright commented 8 years ago

Hey everyone, this ended up getting pretty out of date, it'll take some updating. I'm gonna close it until it's ready.