UDP broadcast using CFSocket on IOS

后端 未结 2 678
自闭症患者
自闭症患者 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

    How about use this initialization with address

    CFDataRef address=CFDataCreate(kCFAllocatorDefault,(UInt8 *)&addr,sizeof(addr));
    

提交回复
热议问题