note 38429 added to function.socket-connect

From: Date: Sat, 20 Dec 2003 20:16:04 +0000
Subject: note 38429 added to function.socket-connect
Groups: php.notes 
Request: Send a blank email to php-notes+get-62275@lists.php.net to get a copy of this message
For some reason I can't make an socket on the UDP port. Not on my localhost (Windows machine) nor on my server (Linux). Can anyone help me with this? if (false == ($socket = @socket_create(AF_INET, SOCK_STREAM, SOL_UDP))) { die("Could not create socket on port ".SOL_UDP); } This piece of code always returns false on the UDP port, while it accepts a connection on the TCP port. Please send help to: telefoontoestel AT officexpert DOT digitaal DOT biz ---- Manual Page -- http://www.php.net/manual/en/function.socket-connect.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+38429 Delete -- http://master.php.net/manage/user-notes.php?action=delete+38429&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+38429&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#62275) next »