Hello Andreas,
if you use the ++ option the pointer is incremented (manipulated). If you need the last byte in your buffer you can do this:
because the bufferpointer always points into a buffer which your application must provide you can directly access the last byte of your buffer with
eot:= myBuffer[PacketRecInfo.RecLen-1]; // array access last reveived byte (eot)
btw.
The TINA uses a blocked transfer. It accepts the next Rx package only after the socket is re-enabled. There is no pipe or something else.
rolf
if you use the ++ option the pointer is incremented (manipulated). If you need the last byte in your buffer you can do this:
because the bufferpointer always points into a buffer which your application must provide you can directly access the last byte of your buffer with
eot:= myBuffer[PacketRecInfo.RecLen-1]; // array access last reveived byte (eot)
btw.
The TINA uses a blocked transfer. It accepts the next Rx package only after the socket is re-enabled. There is no pipe or something else.
rolf