Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add API for transport-level attributes #91

Open
m-ronnblom opened this issue Mar 1, 2024 · 0 comments
Open

Add API for transport-level attributes #91

m-ronnblom opened this issue Mar 1, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@m-ronnblom
Copy link
Collaborator

Occasionally a user program may want to know some property of the transport without having an actual socket available. For example, it may be useful to know the

  • The maximum size of a message
  • The type (messaging, or byte stream)

int xcm_tp_attr_get(const char *tp_name, const char *attr_name, enum xcm_attr_type *type, void *value, size_t capacity);

One use case may be a program wanting to give an early error indication (rather than waiting for an actual socket to be created).

@m-ronnblom m-ronnblom added the enhancement New feature or request label Mar 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant