Reading/Writing in Batches

Home Forums Discussions Support Portal Reading/Writing in Batches

This topic contains 2 replies, has 2 voices, and was last updated by  matt 1 year, 9 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #5420

    matt
    Participant

    Hi,

    I’m currently using the ReadPackets and SendPacketsXXX from C# in order to cut down interop time and noticed what seems to be a maximum of 256 buffers you can use at any one time. Is that correct? If so, is there any way around this in, ideally would like a bit more. Whilst running speed tests on to the internet (~180Mb/s) I’m noticing that i’m maxing up to the 256 level on occasions.

    Thanks,

    Matt

    #7205

    Vadim Smirnov
    Moderator

    Hi Matt,

    I ndisapi.cs ETH_M_REQUEST is defined with constant array size 256, but this is only to avoid writing complex marshaling code for the variable array size. You can change this constant to any of your choice.

    -Vadim

    #7206

    matt
    Participant

    Many thanks – will take a look.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.