> My transmision block is this:-
>   TRecBlock = record
>     Transmission : Array[0..5] of char;
>     DataType     : Byte;
>     Length       : Byte;

This should really be:

TRecBlock = packed record

unless you want the compiler adding blanks to move the elements to 
32-bit boundaries.  Or was the same record used in Delphi with the 
serial port component, with the equipment expecting the extra blanks?  

> Can I check was is really being sent as the result of "Send" is just 
> set to whatever length is passed to it? 

You can use numerous sniffer components to look at the packets actually 
sent, mine uses ICS raw sockets from:



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