I am trying to use Flash to connect to a PHP socket server.
private var FSocket:Socket = new Socket();
When should i use DataEvent.DATA? When will DataEvent.DATA being trigger? I know xmlsocket trigger when server response ends with a null char. But it seems for binary socket this event never trigger in my Flash app even if i add a null char at the server response.
ProgressEvent.SOCKET_DATA did trigger in my Flash app but i am worrying that i might not get complete response at the time this event is triggered. Unless i keep process on hold until i receive some kind of end of msg char like null char.