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

Is it possible to hide a network layer? #2593

Open
mlang-de opened this issue Mar 21, 2019 · 0 comments
Open

Is it possible to hide a network layer? #2593

mlang-de opened this issue Mar 21, 2019 · 0 comments

Comments

@mlang-de
Copy link
Contributor

mlang-de commented Mar 21, 2019

In an use case from our server implementation it is required to add an own network layer, which should not be visible to any common tcp-based client. Is this possible today?

My current approach is to extend the struct UA_ConnectionConfig with the element UA_Boolean internalUseOnly. But to hide this network layer/endpoint to the common clients I must extend the function Service_GetEndpoints:

 for(size_t j = 0; j < server->config.endpointsSize; ++j) {
            if(!relevant_endpoints[j] || server->config.networkLayers[i].localConnectionConfig.internalUseOnly)
                continue;

Any opinions?

Br
Martin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant