Skip to content

chore: pass socket address into protosocket servers#10

Merged
kvc0 merged 2 commits intokvc0:mainfrom
PDXKimani:chore/passthrough-socket-address
Oct 16, 2025
Merged

chore: pass socket address into protosocket servers#10
kvc0 merged 2 commits intokvc0:mainfrom
PDXKimani:chore/passthrough-socket-address

Conversation

@PDXKimani
Copy link
Contributor

Servers might care to use this information, so let's give it to them.

optional_outbound: mpsc::Sender<
<<Self::Bindings as ConnectionBindings>::Serializer as Serializer>::Message,
>,
address: SocketAddr,
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is fine, but probably your use case is better served with the protosocket_rpc::server module. It already does this. (example)

@kvc0 kvc0 merged commit a2cb1f7 into kvc0:main Oct 16, 2025
1 check passed
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

Successfully merging this pull request may close these issues.

2 participants