Hi all,

I'm looking to resolve this bug, and thought about 2 means in which to
implement the request of exposing C's getaddrinfo() and the addrinfo
structure.  There's not really an equivalent means to accomplish this in
userland without trial&error.

So I'm not sure the communities best-practices on altering current userland
function signatures to implement a new feature.  So I've devised 2 means of
implementing this feature but don't know which would be preferred.  The
former introduces new functions for addrinfo-specific usage.  The second
alters current socket_connect/socket_bind signatures.  They are both very
similar in their implementation.  I'm filling out an RFC[1] for this
addition, and have details of each implementation idea typed out in it for
you to see what I'm trying.

Suggestions and advice on best-practice greatly appreciated.
--
Dave

[1] - https://wiki.php.net/rfc/socket_getaddrinfo

Reply via email to