Fixing #72733 : Implement getaddrinfo

From: Date: Thu, 11 Aug 2016 21:59:18 +0000
Subject: Fixing #72733 : Implement getaddrinfo
Groups: php.internals 
Request: Send a blank email to internals+get-95049@lists.php.net to get a copy of this message
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

« previous php.internals (#95049) next »