Hello Geppy,

> FillChar(Data, SizeOf(TData), 0);

Sorry for that. I have habitude to get rid of compiler warnings, even in
a short demo where in this case it was not needed :(

I'm glad it works for you now :)

1 additional note. You can also receive direct in your record. This save
an additional copy of the received binary data.

eg:

RcvdBuf: array[0..8191] of char;
MyRecord: TMyRecord absolute RcvdBuf;

Both start at same address.

---
Rgds, Wilfried [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
http://www.mestdagh.biz

-- 
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

Reply via email to