RE: [PHP-DEV] Use fsock.c from my module
| From: | Ignacio Vazquez-Abrams | Date: | Fri, 01 Dec 2000 17:14:41 +0000 |
| Subject: | RE: [PHP-DEV] Use fsock.c from my module | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-39799@lists.php.net to get a copy of this message | ||
On Fri, 1 Dec 2000, Sam Liddicott wrote:
> I see what you are saying.
>
> Surely all the ifdef loops have been hacked into fsock.c
> If fsock.c won't compile, then my code won't because it has to do what
> fsock.c does.
> Or, whatever fixes would need making to my code in order to compile it could
> be done to fsock to fix that?
>
> Or maybe there's lots of extra stuff in fsock I won't need?
>
> I could rip-off the whole of fsock.c and take out the bits I don't need?
>
> Which would you do?
>
> Thanks for your sage advice here.
>
> Sam
>
The best policy is probably to pick and choose through existing code, although
forcing fsock.c into the compile/link without actually requiring sockets might
work just as well.
--
Ignacio Vazquez-Abrams <ignacio@openservices.net>