I am trying to send a snapshot of a 1 meg bitmap from my video camera between computers using TCPIP.(it comes from a picturebox, not a file)
I tried the excellent example by STRONGM (2003) using propertybag but it only transfers pictures less than 8192 bytes each.
I tried various methods such as breaking the array into hundreds of 8000 byte chunks but you have to buffer and acknowledge each chunk before you send the next one which is very cludgy and momentarily slows down the sending computer if you have a lot of chunks.
Is there any other neat way to send a large picture array directly or "in the background"?
Each winsock senddata firing takes .06 seconds whereas it only takes .0001 second to break the full pic into chunks or reassemble it.
It's a bit like a mini video streaming appl.
I tried the excellent example by STRONGM (2003) using propertybag but it only transfers pictures less than 8192 bytes each.
I tried various methods such as breaking the array into hundreds of 8000 byte chunks but you have to buffer and acknowledge each chunk before you send the next one which is very cludgy and momentarily slows down the sending computer if you have a lot of chunks.
Is there any other neat way to send a large picture array directly or "in the background"?
Each winsock senddata firing takes .06 seconds whereas it only takes .0001 second to break the full pic into chunks or reassemble it.
It's a bit like a mini video streaming appl.