Conversation
|
Breaking backward compatibility but just adding |
|
@khibino I guess this PR is ready for reviewing. |
933dc15 to
28dc278
Compare
29e3c3c to
d80daa4
Compare
Adding the associated address for But, FWIW, I am not sure that reporting the socket file descriptor number is useful, it does not tell the user much. If the user could "decorate" the socket with custom info about its purpose/role in the application to be reported on error, that'd work better, but may not be warranted. |
|
Labeling sockets sounds a good idea. |
|
I saw your message on Haskell Cafe:
I don't know why the instance is this way, but the problem has been noticed before. See https://gitlab.haskell.org/ghc/ghc/-/issues/16048. |
|
An accepted socket (in the server side) is now labeled as: |
83bd54d to
f9e4a63
Compare
|
@vdukhovni I fully re-implemented this scheme. |
|
I should merge #602 first then this PR next. |
Trying to implement #609.
@khibino This is PoC. The error of
bindis change from:to
The current problem is there are no way to show
SocketAddress sa.