Quantcast
Viewing all articles
Browse latest Browse all 18858

Asynchronous socket begin accept callback not firing

Hi, 

 I am using Synchronus and asynchronous sockets together. Since large file tranfer can be done only through the asynchronous socket (as i understood through the examples i gone through), i am using async socket for data transfer and for all other application i am using synch socket. Before getting into asynch i am closing the synch socket and opening asynch socket and once file has been transfered i am closing the the asynch and go to listning mode again.

With this architecture i could tranfer 3 consecutive files after that my asynch socket doesnot call the beginaccept callback. I could not able to understand this behaviour. Can any one please explain

Regards

Harsha


Harsha Bhat


Viewing all articles
Browse latest Browse all 18858

Trending Articles