Skip to content

Expose protocol overhead size for requests #14

Description

@scamille

I want to split my large data reading/writing requests into smaller chunks, similar to https://github.com/S7NetPlus/s7netplus/blob/051091919fa80b03989f4375e364ebc4b02aabe7/S7.Net/PlcAsynchronous.cs#L106
For that I need to know at what size to split my data into chunks.

I can get at the PDU from the IS7ConnectionParameters, that's great.

What I am missing are those magic numbers of protocol overhead for a request & per data item. I don't want to hardcode these, and since you have such well-organized data types for all your protocol code, would it be possible to expose the size of those structs somewhere, eg. in a static class?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions