Skip to content

UDP buffer size configuration #14

Description

@dpkoch

Creating from comment by @RonaldEnsing on #1:

In addition, it is not clear to me why the buffer size is set to (effectively) 1024*1024 for UDP [2]. Why not set [1] to 1024*1024 (1048576) and [2] to socket_.set_option(udp::socket::receive_buffer_size(READ_BUFFER_SIZE)?

[1] https://github.com/dpkoch/async_comm/blob/master/include/async_comm/comm.h#L143
[2] https://github.com/dpkoch/async_comm/blob/master/src/udp.cpp#L88

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