Re: cvs: php4 /main network.c
| From: | Jouni Ahto | Date: | Sun, 03 Sep 2000 11:03:46 +0000 |
| Subject: | Re: cvs: php4 /main network.c | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-1516@lists.php.net to get a copy of this message | ||
On Sun, 3 Sep 2000, Stig Venaas wrote:
> Added files:
> /php4/main network.c
> Log:
> Network related functions, only for internal use by other PHP code. Tries
> to hide the details of address families/protocols, and to reduce duplication
> of code.
>
> static int my_lookup_hostname(const char *addr, struct in_addr *in)
Just as a note, there are a few network-related functions beginning with
my_ in the MySQL-extension, like my_inet_ntoa() and my_gethostbyname_r(),
so I'd recommend not naming any of your functions my_*() to avoid the risk
of a naming conflict... php_*() seems to be the current convention.
-- Jouni Ahto