Closed qiyazong closed 6 years ago
How to have callback func when socket have new message? I found this func for a long time,if you konw where it is ,please tell me,thank you!!!
You can use a DispatchSourceRead for that.
DispatchSourceRead
ok thank you ,I'll try it now!
How to have callback func when socket have new message? I found this func for a long time,if you konw where it is ,please tell me,thank you!!!