RE: [PHP-CVS] cvs: php4 /ext/sockets sockets.c
| From: | Colin Viebrock | Date: | Fri, 02 Feb 2001 21:08:37 +0000 |
| Subject: | RE: [PHP-CVS] cvs: php4 /ext/sockets sockets.c | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-3877@lists.php.net to get a copy of this message | ||
> What do you mean, switch() is expensive?
Well, isn't it slower?
> Uh-uh - can't do that. What is your goal here, if port is not passed, it
> defaults to 0?
The goal is to make getpeername() not seg-fault and core dump when
I only call it with 2 args. :)
- Colin