UDP broadcast using CFSocket on IOS

后端 未结 2 669
自闭症患者
自闭症患者 2021-01-13 10:10

Have been doing some google search and some reading on this subject but cannot seem to get it right no matter how much time i spent searching.

What i want to do is

相关标签:
2条回答
  • 2021-01-13 11:12

    remove SetAdress and all will be work fine. i've tested this now;

    0 讨论(0)
  • 2021-01-13 11:12

    How about use this initialization with address

    CFDataRef address=CFDataCreate(kCFAllocatorDefault,(UInt8 *)&addr,sizeof(addr));
    
    0 讨论(0)
提交回复
热议问题