TCP event Received Binary
Hi. i have problem to receive data in tcp socket from server . i created a function with if ( MySocket->HasPendingData(PRsize) ) that execute in every 0.05 second to see if there is data to receive ( my data for receive is dynamic array of 8 integer number ) . the problem is i ran into some kind of traffic for receiving data and it also has delay .
back in udk there was , event ReceivedBinary in TCPActor class , that triggers when data is coming, not execute in 0.05 second. and it was perfect .
so my question is : what is my problem and is there a way to create event for receiving data, like udk. . not function.
thank you .
asked Jun 23 '15 at 08:39 AM in C++ Programming
Follow this question
Once you sign in you will be able to subscribe for any updates here