-
Notifications
You must be signed in to change notification settings - Fork 42
Use sockaddr structure instead of port for connection address #89
Comments
See #81 for more comments: Helge:
Chris B:
|
Wouldn't the networking part of this working group provide an abstraction over |
Yes, but it seems we are further along? Once they have something, we should switch to it. Or they just adopt what we do. Is someone actually working on this?
I don't see a particular issue with using C system types. However, the specific case of Anyways: the gist of this is that we need to be able to pass in socket addresses. Whether using |
Another idea: |
Mildly related, Envoy uses tcp:// for some of its specifications: |
Hm, right, they use 0 for wildcard. Which I guess works, but nice is different ;-> |
From comments by @helje5 in #81
Port
is insufficient. We need to allow an (or many!) arbitrarysockaddr_in
(either via sockaddr_in or a wrapper). If only to allow IPv6 and such.af_local
is very useful too.The text was updated successfully, but these errors were encountered: