You are here: Re: Specify a source address/interface to use when using fsockopen « PHP Programming Language « IT news, forums, messages
Re: Specify a source address/interface to use when using fsockopen

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация