Skip to content

stream_socket_accept always false #2

Description

@lindnerdaniel

Hi,

I running PHP 8.0 on Ubuntu machine. My socket (using FreeDSx/ldap LdapServer) always quit after starting.
After short debugging: The timeout in stream_socket_accept fails. After removing this Parameter, the socket running.

src/FreeDSx/Socket/SocketServer.php - Line 126:
$socket = @\stream_socket_accept($this->socket, $timeout); -> $socket = @\stream_socket_accept($this->socket);

Any idea why?

BR

Daniel

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions