shizu 0 Light Poster

Hi all..

I am using windows XP with vision studio C++ 6.0..
my software is using CAsyncSocket communication with TCP/IP..

during sending and receiving signal / data..
my software always face communication cannot delivered to server..
sometimes OK..sometimes not..

I called CAsyncSocket::Send(...) function to send data..
sometimes able to send, sometimes need re-try few times..
but got happend is totally cannot send message out..
server always unable to received message my software send to..

need to restart program, then server can received..

Can anyone knows about CAsyncSocket..??
Please give me advise..
what can I do to avoid sending fail..??

Thank you..
shizu..