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.
sending ...
try
FMS.Seek(0, soBeginning
> 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
I try send by block and have the same problem.
Sending ---
try
FMS.Seek(0, soBeginning);
Self.SendStr('IMAGE:' + IntToStr(FMS.Size) + sLineBreak);
iCount := FMS.Read(Buffer[1], BLOCK_SIZE);
while iCount > 0 do begin
Self.Send(@Buffer[1], iCount);
FillChar(B