Look if your path of ics installation is Read-Only .
Sent from ProtonMail, encrypted email based in Switzerland.
‐‐‐ Original Message ‐‐‐
On 8 June 2018 9:54 AM, François Piette wrote:
>
>
> > [dcc32 Fatal Error] main.pas(15): F2613 Unit 'OverbyteIcsFtpCli' not found.
>
> You h
r property to '0.0.0.0' then TWSocket will listen on
> all interfaces.
>
> Met vriendelijke groeten,
> Wilfried Mestdagh
>
> Op 13-11-17 om 14:43 schreef Fatimire:
>
>> How i listen the wsocket to all interfaces? maybe my problem is this i have
>> multiple
t mailing'
>>
>>> Your receiving is also likely to fail, LineMode should not be used when
>>> you expect binary data,
>>>
>>> Agreed.
>>>
>>> and makes a program more complex than necessary swapping back and forward
>>
kes a program more complex than necessary swapping back and forward
>> while receiving, checking line end is not very hard.
>>
>> Disagreed.
>> What would be easier for Fatimire is to send the image length a single
>> integer (4 bytes is probably enough) instead of a tex
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
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
groeten,
Wilfried Mestdagh
Op 02-01-17 om 17:58 schreef Fatimire:
> Hi guys, im trayng to send a record with a stream size to send a image.
> Example
> PCtlCmd = ^TCtlCmd;
> TCtlCmd = packed record
> Cmd: Byte;
> ImageSize: integer;
> end;
>
> //SEN
Hi guys, im trayng to send a record with a stream size to send a image.
Example
PCtlCmd = ^TCtlCmd;
TCtlCmd = packed record
Cmd: Byte;
ImageSize: integer;
end;
//SENDING
begin
MemoryStream := TMemoryStream.Create;
img1.Picture.Graphic.SaveToStream(MemoryStream);
MemoryStream.Seek(0, soFromBeginnin
Always is needed use the OnDataSent event ?
I need only transfer the tmemorystream off a Timage1 to Timage2 over twsocket.
Sent from [ProtonMail](https://protonmail.ch), encrypted email based in
Switzerland.
Original Message
Subject: Re: [twsocket] TWsocket transfer Tmemory
procedure TForm1.SendClick(Sender: TObject);
var
Buffer: array [1..BLOCK_SIZE] of char;
Count: Integer;
MemoryStream : TMemoryStream;
begin
try
MemoryStream := TMemoryStream.Create;
img1.Picture.Graphic.SaveToStream(MemoryStream);
MemoryStream.Seek(0, soFromBeginning);
WSocketServer1.Client[0].Send
I need help to send text and stream in same socket, anybody can help-me??
Sent from [ProtonMail](https://protonmail.ch), encrypted email based in
Switzerland.
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsock
11 matches
Mail list logo