GCDAsyncUdpSocket on iOS missing multicasted datagrams

后端 未结 3 1996
孤街浪徒
孤街浪徒 2020-12-28 23:26

I have a device on the network that is multicasting a very small file via UDP. The iOS app I am developing is responsible for reading these packets and I have chosen to use

3条回答
  •  失恋的感觉
    2020-12-28 23:50

    I had the same issue.

    Starting the network activity indicator solved that problem for me:

    UIApplication* app = [UIApplication sharedApplication];
    app.networkActivityIndicatorVisible = YES;
    

提交回复
热议问题