Posted by Andy Hassall on 11/24/06 22:07
On 24 Nov 2006 01:47:51 -0800, "phiberoptick@gmail.com"
<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.
I'm not sure you can with fsockopen; you have to go down a level to the
sockets functions: http://uk2.php.net/manual/en/function.socket-bind.php
--
Andy Hassall :: andy@andyh.co.uk :: http://www.andyh.co.uk
http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool
Navigation:
[Reply to this message]
|