BlueSocket icon indicating copy to clipboard operation
BlueSocket copied to clipboard

Socket framework for Swift using the Swift Package Manager. Works on iOS, macOS, and Linux.

Results 35 BlueSocket issues
Sort by recently updated
recently updated
newest added

When does deinit get called ? I'm using BlueSocket on a Mac running as a server and on a iPhone as a client. The server runs some apple scripts when...

Sometimes got Segmentation fault crash: ``` * thread #11, name = 'NIO-ELT-#2', stop reason = signal SIGSEGV: invalid address (fault address: 0x0) frame #0: 0x0000555555d45728 Run`Socket.connect(host="X.X.X.X", port=25, timeout=10000, familyOnly=false, self=)...

I get an error when I try to launch the app by writing EchoServer.run inside ViewDidLoad as below. Where should I write EchoServer.run? ``` import Foundation import Socket import Dispatch...

e.g. unix:///var/run/docker.sock

Hi all, Currently i am working on two applications which will installed on same device and communicate over socket. So for that we need a local socket server and local...

I want to connect to stunnel server on windows by using this BlueSSLService client. But I get an error when I create Socket with SSLService Delegate and connect to stunnel....

It would be very convenient to have the BlueSocket EchoServer from the [README Complete Example](https://github.com/IBM-Swift/BlueSocket#complete-example) available as a separate repository. I’m aware that maintaining a separate repository can be a...

The [example](https://github.com/IBM-Swift/BlueSocket#complete-example) uses `unowned self` in an asynchronous queue. This is a bad idea for reasons outlined here: https://stackoverflow.com/a/42543070

I can't find the way to bind to a specific interface/IP using the UDP socket. I tried with something similar to: ``` try socket.listen(on: self.port, maxBacklogSize: Socket.SOCKET_DEFAULT_MAX_BACKLOG, allowPortReuse: false, node:...

E.g. a rough implementation might look like so: ```swift extension Socket: Sequence { public func makeIterator() -> AnyIterator { var iterator: Data.Iterator? = nil return AnyIterator { if let next...