hi
since 3 weeks I'm trying to send a file with TWSocket and
TWSocketServer components..
my idea was to send records like:
pFileBuf = ^TFileBuf;
TFileBuf = packed record
ID : Integer;
bufSize : Integer;
buf: array[0..1023] of Byte;
end;
so I tried to receive these records in
hi,
I have used both compenets to send/receive text but now I'm trying to
use it for sending files..
so I tried just simple to open the file binary, read it and send it to
the Server
TCommand = record
ID : Integer;
end;
TFileBuf = record
ID : Integer;
bufSize : Integer;
buf: a