Posted by Erwin Moller on 11/24/06 13:16
phiberoptick@gmail.com wrote:
> I am looking for a way to specify which IP or interface to use as the
> source when calling fsockopen on a server with multiple IP's.
>
> Any help or direction would be much appreciated.
>
> -Ronan
Hi Ronan,
source?
Don't you mean target?
You want to open a socket from you current machine (that runs PHP and uses
the fsockopen()) to some other (possibly the same) machine.
Did you look at www.php.net and looked up the function? I has a link to
Appendix O that contains some examples for valid targets.
It is of course also entirely possible I completely misunderstood your
question. :-)
Regards,
Erwin Moller
Navigation:
[Reply to this message]
|