> HI for all, i do a prototype to transfer a imagem overt internet 
> with Twsocket,
> but in local network works fine, but when i test with a remote 
> computer in internet connection
> the file is sended but dont receive or receive a image with lost 
> collor.

Your code assumes that Send() will cope with an unlimited amount of
data, when there are limits due to the internal buffers.

For large sizes, say over 32K, you need to send the data in blocks,
waiting until each has been sent, before sending the next.  This is
illustrated in several sample applications, with each new block being
sent when the OnDataSent event is called.


To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to