-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Linux support (WebSocket client) #346
Comments
I would like to see Linux support too 😄. I think it might be feasible, I know in #335 there has been talk of allowing a swap out of different socket connections/adapters which would probably be the most flexible route. It is probably worth looking at with the Xcode 9 and Swift 4 update that will be need here in the near future. |
I did some work with the 3.0.0 release to allow this. There is a new |
@daltoniam cool stuff! Will have a look at it later on. How is/will security processing (e.g. the hashing required to establish a connection) (be) done on Linux? I suppose you need to use CommonCrypto on OSX/iOS and openssl on Linux (perhaps just use a wrapper library such as IBM-Swift/Cryptor, which has worked well for me)? |
@pixelspark, yeah that is what we are probably looking at. We haven't heard or seen any signs of the |
Any way I can help this move forward? I got IBM-Swift/BlueCryptor included in Starscream locally, but I couldn't manage to run Autobahn|Testsuite to check if it's all good... |
@caiofbpa I would be interested in testing out this branch! |
@wbarksdale I've opened a PR with that branch on #454. Can you help me test and review it? |
Hi. Is there any update on this? |
Anything new? |
I think this should be solved with SwiftNIO. I have plan to integrate that into Starscream at some point. #484 |
@fassko if to use "Swift-NIO", then I think this library is no longer needed :D |
It won't because SwiftNIO needs Network.framework which is only for iOS 12+, tvOS 12+, macOS 10.14+ and exclude watchOS. |
Any updates on this? |
Not really, maybe you can help out? |
@fassko do you know if any effort has been on this so far and if so, can you point me in the right direction? |
@alex-taffe but why do you need it on Linux ? |
@nerzh Attempting to build a cross platform socket based framework, could do it in another language but prefer the type safety of Swift and ease of integration in iOS apps. I just saw your comment about swift-nio though, which also looks extremely promising |
@alex-taffe it should work by default, but I don't have Linux box to test on myself. |
Ok I’ll do some testing, thanks. Looks like Vapor also may be an option but more complicated than I really need |
Would really like to have Starscream on Linux as WebSocket client (a WebSocket server is already available through Kitura-WebSocket but a WebSocket client is currently missing, and the server WG has not yet produced anything usable at this point as far as I know).
Would it be feasible to switch over to a generic socket library (such as https://github.com/IBM-Swift/BlueSocket ? I believe there is also SSL support in there for both macOS and Linux).
#285 discussed Linux support before, but that concerned a WebSocket server.
The text was updated successfully, but these errors were encountered: