-
Notifications
You must be signed in to change notification settings - Fork 71
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
Add Ubuntu support #29
Comments
For the #selector error, it looks like alternatives like Perfect's Threading framework is an alternative: https://stackoverflow.com/questions/41328989/swift-3-linux-with-perfect-add-a-scheduled-timer-with-interval-to-the-runloop |
For the steam(_:handleEvent:) error, I filed a bug with Swift at https://bugs.swift.org/browse/SR-6088 |
Stream.getStreamsToHost is NSUnimplemented on Ubuntu, due to
|
Hi, Would like to ask you, if you have solved the problem with: Stream.getStreamsToHost(withName: host, port: Int(port), inputStream: &inputStream, outputStream: &outputStream) Thanks for your answer! |
The problem is stil not solved in 2021. I'm having the same issue on raspberry with swift 5.1. |
Hard to believe that the discussion over the usage of a pointer is holding back a very useful API for several years now. If that API is not available, is there a matching workaround that just returns a tuple? Obviously it’s not just the autoreleased pointer, the whole CFSocketStream infrastructure is missing on Linux, hence someone needs to come up with a Stream pair that encapsulates POSIX sockets instead. |
Swift is used on Ubuntu and MQTT is a good protocol for IoT purposes. This can be used both on the server-side and on Raspberry Pis.
Here is the current error log when built on Ubuntu MATE on Raspberry Pi:
The text was updated successfully, but these errors were encountered: