Send php (server) values to flash (client)

Hi everybody.I have created a p2p connection with a php server and a flash client. I can connect with flash(xml) to php socket and also send from my flash, values to php server.But how i can manage send values from my php server to my flash client!In my php code i m sending a value to flash but i am not seen anything?(in flash i use the code
onData=function()
{
dynamictext=“something”;
}
)
Any solution???