#50047 [Opn]: interface binding for fsockopen (like socket_bind)

From: Date: Tue, 03 Nov 2009 04:40:29 +0000
Subject: #50047 [Opn]: interface binding for fsockopen (like socket_bind)
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-144184@lists.php.net to get a copy of this message
 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] srinatar@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



Thread (5 messages)

« previous php.bugs (#144184) next »