Specify source address in fsockopen?

From: Date: Tue, 08 May 2001 03:02:58 +0000
Subject: Specify source address in fsockopen?
Groups: php.dev 
Request: Send a blank email to php-dev+get-54334@lists.php.net to get a copy of this message
Wouldn't it be nice if fsockopen() function offered the ability to specify the source address. Does such a patch exist? My concern is that outgoing connections end up coming from the "primary" IP address (e.g. eth0) and not one of the aliased IP addresses (e.g. eth0:1, eth0:2, etc...) where the query originated. Any hints would be appreciated. Thank you, Rhesus

« previous php.dev (#54334) next »