CakeFest 2025 Madrid: The Official CakePHP Conference

Voting

: min(one, six)?
(Example: nine)

The Note You're Voting On

MagicalTux at php dot net
14 years ago
This method may return a peer address not compatible with stream_socket_sendto() if in ipv6.

The ip returned by recvfrom is not within brackets ([]), and has the port appended, which makes it look like ::1:1234. To cut it properly, use strrpos()

<< Back to user notes page

To Top