CFSocketSetAddress listen failure: 102

98 views
Skip to first unread message

Jonathan Kristian

unread,
Mar 3, 2019, 12:44:12 AM3/3/19
to CocoaAsyncSocket
Greeting,
i try to setting iot device useing GCDAsyncUdpSocket from CocoaAsyncSocket by pods
as this sample
https://github.com/MXCHIP/EasyLink_iOS

this EasyLink lib is useing this GCDAsyncUdpSocket

i try to create a new one with new project, and copy the lib
when i create new object of connection object 

[[EASYLINK alloc]initForDebug:YES WithDelegate:self];


i got error

2019-03-03 12:38:16.237457+0700 test1[3136:227229] libMobileGestalt MobileGestalt.c:890: MGIsDeviceOneOfType is not supported on this platform.

2019-03-03 12:38:16.413430+0700 test1[3136:227229] [libEasyLink: -[EASYLINK initForDebug:WithDelegate:]: 145] Init EasyLink v:4.2.3

2019-03-03 12:38:16.414408+0700 test1[3136:227229] CFSocketSetAddress listen failure: 102

2019-03-03 12:38:20.314688+0700 test1[3136:227229] -[__NSCFConstantString enumerateByteRangesUsingBlock:]: unrecognized selector sent to instance 0x10e326c88

2019-03-03 12:38:20.332792+0700 test1[3136:227229] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSCFConstantString enumerateByteRangesUsingBlock:]: unrecognized selector sent to instance 0x10e326c88'

*** First throw call stack:


i think connection did init, but idk what i missing
i try to compare info.pilst, i don't see any additional permission

i try to find about CFSocketSetAddress listen failure: 102 but no luck
idk where to start
please help me TT^TT
what this 102 error is?


Arno Gramatke

unread,
Mar 5, 2019, 4:17:33 AM3/5/19
to cocoaasy...@googlegroups.com
It looks like EasyLink is not using the GCD-based version of CocoaAsyncSocket, but the runloop version. This version has been deprecated three years ago and didn’t see any updates for around four years. I guess, no one is able to help with this.

-- 
You received this message because you are subscribed to the Google Groups "CocoaAsyncSocket" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cocoaasyncsock...@googlegroups.com.
To post to this group, send email to cocoaasy...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cocoaasyncsocket/42b50ee5-eef9-48e7-9638-4554f434858f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages