Hi,

the user-note with the id 36049 states that the proto for
socket_recvfrom is not correct as the sixth parameter is stated to be
optional but in fact it's reqired.

 vi ext/sockets/sockets.c: 

   1293 /* {{{ proto int socket_recvfrom(resource socket, string &buf,
int len, int flags, string &name [, int &port])

   1342    if (arg6 == NULL) {
   1343     WRONG_PARAM_COUNT;
   1344    }

Looking at the if-statement i would say that the user is right. 
Could anyone with karma change that in the C-file? I take care of the
xml.

-ali

Reply via email to