> Now, I have a lot of data to send from a side to other, I remade my program > to work with TCP instead UDP to see if it works. I am trying to transmit > video over ip. I can get the video stream in a pure bytes sequence, > something like GetVideoData() that is a pointer to the memory and a > GetVideoDataSize() that is the length of data. The other side (client) I > have to receive and reprocess the data again, my doubt comes when defining > the buffer size. I declared a Buffer:array[0..n] of byte, in my case n = > 9128 bytes in length. Will the TCP stack correctly send this piece of data > to the other side? Will this affect the buffer size of the own TCP stack > defined to TWSocketServer component?
With TCP, you don't have to worry about TWSocket internal buffer size. A chain of buffers will be allocated to fit the size of the data you send, no matter how many bytes you have. -- [EMAIL PROTECTED] http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be