Flash 8:: XMLSocket & Mac problem

I am trying to connect to a C++ socket server on mac and I get connected successfully.

But communication is unidirectional. I can send messages from flash client but cannot receive a message from socket server which is runnig on mac?

Anybody any idea about this ?