note 108119 added to function.socket-bind

From: Date: Fri, 30 Mar 2012 06:34:10 +0000
Subject: note 108119 added to function.socket-bind
Groups: php.notes 
Request: Send a blank email to php-notes+get-186910@lists.php.net to get a copy of this message
Its worth noting that if your trying to bind a port for ipv6, you need to use "::0" if you wish to bind all interfaces, for example: $sock = socket_create(AF_INET6, SOCK_DGRAM, SOL_UDP); $err = socket_bind($sock, "::0", 34000); Would bind ipv6 udp port 34000 on all interfaces. ---- Server IP: 69.147.83.197 Probable Submitter: 124.171.22.94 ---- Manual Page -- http://www.php.net/manual/en/function.socket-bind.php Edit -- https://master.php.net/note/edit/108119 Del: integrated -- https://master.php.net/note/delete/108119/integrated Del: useless -- https://master.php.net/note/delete/108119/useless Del: bad code -- https://master.php.net/note/delete/108119/bad+code Del: spam -- https://master.php.net/note/delete/108119/spam Del: non-english -- https://master.php.net/note/delete/108119/non-english Del: in docs -- https://master.php.net/note/delete/108119/in+docs Del: other reasons-- https://master.php.net/note/delete/108119 Reject -- https://master.php.net/note/reject/108119 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#186910) next »