#27211 [Com]: stream_socket_accept() returns Invalid argument

From: Date: Wed, 02 Jun 2004 20:28:51 +0000
Subject: #27211 [Com]: stream_socket_accept() returns Invalid argument
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969361144@lists.php.net to get a copy of this message
ID: 27211 Comment by: flugelaar at pandora dot be Reported By: glox at glox dot be Status: Assigned Bug Type: Documentation problem Operating System: * PHP Version: 5CVS-2004-02-12 Assigned To: nlopess New Comment: Is there news about this bug? Previous Comments: ------------------------------------------------------------------------ [2004-04-30 13:53:39] i_kobayashi at rnk dot co dot jp In communication by udp, it is not accept() but recvfrom(). However, since there is no means to acquire an address and a port from stream_socket_recvfrom(), a reply cannot be returned. Are there any of other means? ------------------------------------------------------------------------ [2004-03-15 10:27:04] nlopess@php.net Shame on me, but I've lost the e-mails I've exchanged with Wez (my ISP fault). I don't remeber very well how to reproduce the crash :( Wez sent me some examples to fix the ones that are currently in the docs, but I've lost them... :-( ------------------------------------------------------------------------ [2004-03-15 10:20:55] sniper@php.net Assigning to Nuno. (Please report the possible crash in different report if you haven't done it already) ------------------------------------------------------------------------ [2004-02-16 05:16:36] wez@php.net *_accept() doesn't make sense for UDP (which is a connection*less* protocol). I had a conversation about this example with Nuno this weekend; he will fix the docs. He also found a segfault, but I don't have time to fix it right now. ------------------------------------------------------------------------ [2004-02-12 14:27:50] glox at glox dot be Well the server script is copy pasted from the manual page. So, or the example is wrong, or there is a bug with those functions. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/27211 -- Edit this bug report at http://bugs.php.net/?id=27211&edit=1

« previous php.doc (#969361144) next »