How receive a complete screenshot in Async socket?
问题 I have a Java android code that sends data (image or text) to a C# application, to receive these data I'm using Async socket. But exists a problem that is relative to BeginReceive() function is not receiving the complete data when is sent an image.. Then how I can make a kind of "loop" to receive full data and after show the image on Picturebox (for example)? Form private Listener listener; private Thread startListen; private Bitmap _buffer; public frmMain() { InitializeComponent(); } private