Expose direct buffer send/receive #472
Labels
Element: Socket Stacks
Issues related to OS socket APIs, TIdStack and TIdSocketList descedants, etc
Status: Accepted
Issue has been accepted to be worked on
Type: Enhancement
Issue is proposing a new feature/enhancement
Milestone
I have a special device which has a high data throughput... For this case, I want to bypass all internal buffering (I have my own simple line handling) and use low level socket select/send/receive. But currently Send/Receive only work via TBytes.
I can reach hundreds Mb/s... even though the PC can handle that, I want to avoid intermediate copies.
Currently I use TIdSocketHandle (after connect), but have to hack via TIdStackBSDBase.WSRecv...
Is there a reason NOT to allow direct buffer access?
It would be an easy interface addition with overloaded functions...
indy_ll_buffer.patch
The text was updated successfully, but these errors were encountered: