-
Notifications
You must be signed in to change notification settings - Fork 13
Description
Hi Albert,
I try to run wsdiscovery sample code on iOS 9.3.2 in iPad with Xcode 7.3, but it always crash when I click scan button.
Here is log message before it crash:
MAC 020000000000
gpLocalAddr is set to 10.0.0.87, MAC is 020000000000
Opening multicast client socket 4 for ip 10.0.0.87...OK.
Setting the local interface...OK
Opening multicast server socket 5 for ip 239.255.255.250...OK.
Setting SO_REUSEADDR...OK.
setsockopt IP_ADD_MEMBERSHIP for 10.0.0.87 ...OK.
Binding port:3702 socket...OK.
Sending SendHello message...OK
Sending SendHello message...OK
Sending SendHello message...OK
/Users/ryan/Downloads/wsdiscovery-master/WSDiscovery/wsdiscovery_api.m -[WSDiscovery_API InitServer:] :202 nIndex=8 pSrc=10.0.0.87:53420, pDst=239.255.255.250
/Users/ryan/Downloads/wsdiscovery-master/WSDiscovery/wsdiscovery_api.m -[WSDiscovery_API InitServer:] :203 localaddr=10.0.0.87 port=53420
RecvThread start....
(lldb)
I can not find any reason for it to crash. Could you fix the issue?
Thanks.