ID:               50047
 User updated by:  naox at o2 dot pl
 Reported By:      naox at o2 dot pl
 Status:           Open
 Bug Type:         Feature/Change Request
 Operating System: -
 PHP Version:      5.2.11
 New Comment:

nope. this would be setting destination not source interface. Check out

http://php.net/manual/pl/function.socket-bind.php
this however is for socket functions not "network" like fsockopen


Previous Comments:
------------------------------------------------------------------------

[2009-11-03 03:06:00] srina...@php.net

is this some thing what you are looking for ?
$fp = fsockopen("tcp://127.0.0.1", 8080);

or 
$fp = fsockopen("unix:///tmp/mysocket", ..);


------------------------------------------------------------------------

[2009-11-01 00:26:59] naox at o2 dot pl

Description:
------------
PHP really needs interface binding for fsockopen() (like socket_bind())



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=50047&edit=1

Reply via email to