ocaml-multicore / eio

Effects-based direct-style IO for multicore OCaml
Other
529 stars 67 forks source link

`getsockname` missing? #668

Closed nojb closed 6 months ago

nojb commented 6 months ago

There doesn't seem to be a way to figure out which port and address a socket is bound to when assigned by the operating system.

nojb commented 6 months ago

But it is easy enough to do this using the underlying file descriptor; sorry for the noise!

talex5 commented 6 months ago

Should be fixed by https://github.com/ocaml-multicore/eio/pull/555.

nojb commented 6 months ago

Should be fixed by #555.

Thanks. I left comment there (need to support datagram sockets).