objective-c - Check it out if you're passing by! ! ! GCDAsyncSocket sends data to Java server? ? ? ?
天蓬老师
天蓬老师 2017-05-02 09:32:32
0
0
472

GCDAsyncSocket sends data to the Java server,
asyncsocket = [[GCDAsyncSocket alloc] initWithDelegate:self delegateQueue:dispatch_get_main_queue() socketQueue:nil];
The agent’s queue is the main queue. I found the button event while debugging After execution, my data proxy method is executed to collect data. But the method of collecting data in my button has been executed
The second time I clicked the button to receive the data, it was actually the data I received for the first time, because the second data has not been received yet and I have to wait for the second time. Button event ends

I hope someone who knows GCDAsyncSocket can help me with some pointers. Thank you very much!

天蓬老师
天蓬老师

欢迎选择我的课程,让我们一起见证您的进步~~

reply all(0)
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template