Hi Alan ,
i completly aggree with what you say i am using stream.readtoend() thank you very much .
now m_DataStream = Client.GetStream(); 1st 2 times within 20 sec it will works but when i send some thing after this
it will through an error operation is not allowed on non connectede objects.at the same time when see the
Client.Connected if false is that nessarz to creat a new object again.or anz other solution in same before posted code.