I'm writing a program to exchange pictures with winsock. I've converted them into a bytearray and can send them over the wire but I just can't get the DataArrival Event right (the array is sent in multiple blocks) The problem is that is have to work remotely so I can't debug my code properly.
Can anyone explain how this dataArrival event really works or does anyone have some code for it that I can study.
Thank you.