我正在尝试创建一个 Voip 应用程序作为本教程 http://www.raywenderlich.com/29948/backgrounding-for-ios
但是运行时出现错误
Error Domain=NSPOSIXErrorDomain Code=61 "The operation couldn’t be completed. Connection refused
当我运行教程中的源代码时出现相同的错误
我认为这是分配的端口的问题。 我怎么解决这个问题。 为端口赋予什么值?
最佳答案
如果您阅读他的教程,他会提到这一点。我确信这是你的问题。
Before you run the app, you need a server with which to test it. You can use a handy little utility every Mac already has called netcat that, among other things, allows you to easily create simple text-based servers.
关于ios - Voip 应用程序 IOS 出现错误 Error Domain=NSPOSIXErrorDomain Code=61 "The operation couldn’ 无法完成。连接被拒绝,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16919393/