iOS 4 VOIP app responding in the background

后端 未结 1 1033
逝去的感伤
逝去的感伤 2021-02-04 21:09

I have an iPhone VOIP app that copes with multi-multi transmit and receive (ie teleconferencing) set up using BSD sockets. I would like it to be able to respond to incoming req

1条回答
  •  后悔当初
    2021-02-04 21:11

    You can create a socket from a file descriptor with CFSocketCreateWithNative(), and then create a pair of streams with CFStreamCreatePairWithSocket(). It might let you use them on a UDP socket. Provided the streams don't read data unless you ask, you might be able to get away with using the FD directly.

    Good luck with that though!

    0 讨论(0)
提交回复
热议问题