Bind IP with fsockopen
| From: | chris at aquanuke dot com | Date: | Sat, 07 Apr 2007 20:51:46 +0000 |
| Subject: | Bind IP with fsockopen | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-252216@lists.php.net to get a copy of this message | ||
Hi is it possible to socket_bind with fsockopen? im using this with all my scripts...
$fs = fsockopen('example.com', 2043, $errno, $errstr, 60);
if (!$fs) {
fclose($fs);
and I need the remote conection to see me as one of my other IP's
Ive read through socket_bind
http://uk.php.net/manual/en/function.socket-bind.php
but cant see how to use it with my above code
Thanks