-
Notifications
You must be signed in to change notification settings - Fork 198
Open
Description
Hello everyone,
with update to iOS 14.0.1 (not tried on 14.0) I'm not able anymore to start Socket with listen method.
Here is my code:
var listenData = Data.init()
let message = try self.socket?.listen(forMessage: &listenData, on: self.destinationPort)
let hexString = listenData.hexadecimal
// If message is shorter than the default one (48 chars), ignore it
guard hexString.count >= 48 else {
// Ignore message
return
}
self.address = message?.address ?? nil
self.sourcePort = Socket.hostnameAndPort(from: self.address!)?.port
I'm not able to retrieve address and source port.
I'm able to let it work just re-run the app from Xcode otherwise it doesn't work.
It works perfectly on iOS 14.2
Someone noticed this problem?
Thank you in advance for your help!
andrealufino
Metadata
Metadata
Assignees
Labels
No labels