Re: [twsocket] FW: TWSocket Question

2006-03-23 Thread Angus Robertson - Magenta Systems Ltd
> 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

[twsocket] FW: TWSocket Question

2006-03-23 Thread Philip Colley
I have managed to get the socket receiving the data block as suggested. But now I am having problems sending data to the server. I'm using exactly the same data that the application has previously successfully been using via a comport component. So I know the data block is correct. The equipment I