Sending packets to the server is working, and I want to know how to receive message from the server? Do i need to start a thread and call RTMP_ReadPacket in a forever loop ? Or is there any callback that when the server response a message,the call back method get invoked? thanks for your help. guoxj