Skip to content

Add RDS_CMSG_RXPATH_LATENCY to socket #127383

@rruuaanng

Description

@rruuaanng

Feature or enhancement

Proposal:

This issue suggests adding new RDS constants.

s = /* a RDS type socket */
msg, ancdata, flags, addr = s.recvmsg(2048, socket.CMSG_LEN(5 * 128))
for cmsg_level, cmsg_type, cmsg_data in ancdata:
    if cmsg_type == RDS_CMSG_RXPATH_LATENCY:
        # some processing

It‘s used to query the rx-path(that's receive) latency of RDS. Usually used to optimize RDS communication, such as controlling the number of connections and other strategies

Has this already been discussed elsewhere?

No response given

Links to previous discussion of this feature:

No response

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    type-featureA feature request or enhancement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions