note 106689 added to context.socket

From: Date: Mon, 28 Nov 2011 20:56:09 +0000
Subject: note 106689 added to context.socket
Groups: php.notes 
Request: Send a blank email to php-notes+get-184744@lists.php.net to get a copy of this message
sometimes interface binding doesn't happen quite as you'd like it; no error is thrown, but the context uses the default outgoing interface. whether it's OS, kernel or PHP-related, i don't know. for me, the solution was to specify BOTH the IP and the port, like: "1.2.3.4:0". if it's given as "1.2.3.4", it's ignored. ---- Server IP: 92.43.200.200 Probable Submitter: 94.21.79.21 ---- Manual Page -- http://www.php.net/manual/en/context.socket.php Edit -- https://master.php.net/note/edit/106689 Del: integrated -- https://master.php.net/note/delete/106689/integrated Del: useless -- https://master.php.net/note/delete/106689/useless Del: bad code -- https://master.php.net/note/delete/106689/bad+code Del: spam -- https://master.php.net/note/delete/106689/spam Del: non-english -- https://master.php.net/note/delete/106689/non-english Del: in docs -- https://master.php.net/note/delete/106689/in+docs Del: other reasons-- https://master.php.net/note/delete/106689 Reject -- https://master.php.net/note/reject/106689 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#184744) next »