From: [EMAIL PROTECTED]
Operating system: rh7.0
PHP version: 4.0 Latest CVS (02/02/2001)
PHP Bug Type: Sockets related
Bug description: getpeername() causes seg fault
The proto says:
getpeername(int fd, string &addr[, int &port])
But if I only pass it the $addr, my script segfaults.
i.e., this works:
<? getpeername($socket, &$ip, &$port); ?>
and this doesn't:
<? getpeername($socket, &$ip ); ?>
- Colin
--
Edit Bug report at: http://bugs.php.net/?id=9082&edit=1
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]