I’m working on video chat application. I tried using your logic in my code, but it does’t work for resolutions over 160 x 120. I’m using TCP instead of UDP to ensure delivery of packets. I’m trying to achieve a resolution of 640x480 splitting it into packets of 4800 bytes. But whenever I try achieving 640x480, it doesn’t work…about less than one fifth of the receiver’s frame gets filled, and that too has a lot disturbance. Even at 320x240, it does not fill the frame clearly. I did some math to make some logic of why it wouldn’t work at 640x480. I’m sending at 20fps. 640x480x3 = 921000 bytes for one frame and hence 921000x20 = 18million bytes for 20 fps…that’s 18 million bytes per second…how is it possible to send so much data through the network…and before that how can a normal computer process so much information very fast…I would like to receive some advice from you as to how I should go about with this since it has worked for you… Thank you very much.